Skip to content

Commit

Permalink
plugin - add ms2 collision enum for pc2
Browse files Browse the repository at this point in the history
  • Loading branch information
HENDRIX-ZT2 committed Nov 18, 2024
1 parent 15c3367 commit 9860594
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions __version__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# this file is auto-generated by the pre-commit hook increment_version.py
VERSION = "2024.11.18"
COMMIT_HASH = "b4a2df807"
COMMIT_TIME = "Mon Nov 18 16:26:07 2024 +0100"
COMMIT_HASH = "15c336772"
COMMIT_TIME = "Mon Nov 18 16:39:54 2024 +0100"
3 changes: 3 additions & 0 deletions plugin/utils/properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

suffix_map = {
"Planet Coaster": "_pc",
"Planet Coaster 2": "_pc2",
"Jurassic World Evolution": "_jwe",
"Planet Zoo": "_pz",
"Jurassic World Evolution 2": "_jwe2",
Expand Down Expand Up @@ -189,6 +190,8 @@ class CobraCollisionSettings(VersionedPropertyGroup):
("Planet Zoo", "Classification", ['Animal', 'Animal_Bone', 'Animal_Box', 'Animal_Dead', 'Animal_Pouncing', 'Balloon', 'Bedding', 'Building', 'Character_InFlight', 'Character_Limb', 'Character_Limb_NoCollision', 'Character_Miscreant', 'Character_SoS', 'Climbable', 'Coaster', 'Coaster_Car', 'Coaster_Misc', 'Coaster_RacingCar', 'DevelopmentOnly_Ball', 'DevelopmentOnly_Character', 'Enrichment_Object', 'Facility', 'Kinetic_Object', 'Landscape', 'Navmesh', 'NoCollision', 'Poo', 'Prop', 'Ride', 'Scenery', 'Scenery_NoNavSource', 'Scenery_Vandalised', 'Structure', 'Track', 'TrackScenery', 'Track_Support', 'TreeBase', 'TreeBranch', 'TreeFoliage', 'TreeTrunk', 'Trigger_AnimalMemorialStaffThoughts', 'Trigger_AnimalObstruction', 'Trigger_EducationSource', 'Trigger_EscapedAnimal', 'Trigger_FacilityNegativeInfluence', 'Trigger_Grid', 'Trigger_GuestGate', 'Trigger_Inspector', 'Trigger_Presenter', 'Trigger_Queue', 'Trigger_Screen', 'Trigger_Security', 'UIElement', 'Water', 'WaterSpray', 'Wheel']),
("Jurassic World Evolution 2", "Surface", ['BuildingBrick', 'BuildingConcrete', 'BuildingGlass', 'BuildingIce', 'BuildingMetal', 'BuildingSnow', 'BuildingWood', 'CarBody', 'CharacterCollidableLimb', 'CharacterFlying', 'CharacterNonCollidableLimb', 'Debris', 'Default', 'DinosaurLimb', 'DirtPath', 'Drone', 'Gyrosphere', 'LEGACY_DO_NOT_USE', 'LagoonFloor', 'LandscapeDefault', 'LandscapeDirt', 'LandscapeFoliage', 'LandscapeFrictionless', 'LandscapeGrass', 'LandscapeIce', 'LandscapeMetal', 'LandscapeMud', 'LandscapePondBottom', 'LandscapeSand', 'LandscapeSnow', 'LandscapeStone', 'LandscapeWood', 'LandscapeWoodHollow', 'NonCollidableLimb', 'PaleoFoodPoint', 'PropLeaves', 'PropLitter', 'PropMetal', 'PropPlastic', 'PropStone', 'PropTree', 'PropWooden', 'SceneryDefault', 'SceneryTree', 'StructureFence', 'StructurePath', 'StructurePylon', 'StructureTrack', 'StructureWall', 'Water']),
("Jurassic World Evolution 2", "Classification", ['AIDrone', 'AIVehicle', 'AIVehicleFindGrid', 'AIVehicleObstacle', 'Audio', 'AviaryTourGate', 'Building', 'BuildingAIVehicleObstacle', 'BuildingNoCameraObstacle', 'CameraObstacle', 'CarBody', 'CarObstacle', 'Character', 'Debris', 'Default', 'Development', 'DevelopmentAll', 'Dinosaur', 'DinosaurCollisionProxy', 'DinosaurDinosaur', 'DinosaurNoBuilding', 'DinosaurNoCollision', 'DinosaurNoFence', 'DinosaurNoVehicle', 'DinosaurSelfCollision', 'Drone', 'Fence', 'FlyingVehicleObstacle', 'Foliage', 'Gate', 'Guest', 'GuestAvoidance', 'GuestObstacle', 'GuestRagdoll', 'HatcheryGate', 'InvisibleWall', 'LEGACY_DO_NOT_USE', 'LagoonFloor', 'Landscape', 'MissionTrigger', 'PaleoFoodPoint', 'Path', 'Perch', 'PerchQuetz', 'Prop', 'PropNoCameraObstacle', 'Pylon', 'Rotor', 'TinyDinosaurCollisionProxy', 'TourGate', 'Track', 'Tree', 'Vehicle', 'Wall', 'Water', 'WaterSplash', 'Wheel']),
("Planet Coaster 2", "Surface", ['Ball', 'Brick', 'BuildingMetal', 'BuildingWood', 'Car', 'Coaster_DefaultDefault', 'Concrete', 'Default', 'Default_DefaultDefault', 'DevelopmentDefault', 'Dirt', 'FacilityDefault', 'Foliage', 'Gizmo', 'GizmoPrecise', 'Grass', 'Misc', 'NavMeshDefault', 'Plastic', 'PropMetal', 'PropStone', 'RideDefault', 'SceneryPlatformFinder', 'Track_Default', 'Tree', 'Water', 'Wooden']),
("Planet Coaster 2", "Classification", ['Building', 'Coaster', 'Coaster_Car', 'Coaster_Default', 'Default', 'Default_Default', 'Development', 'Facility', 'Gizmo', 'GizmoPrecise', 'NavMesh', 'Prop', 'Ride', 'Scenery', 'Scenery_Default', 'Scenery_SceneryPlatformFinder', 'Scenery_Tree', 'Track', 'TreeBase', 'TreeFoliage', 'TreeTrunk']),
):
identifier = f"{dtype.lower()}{suffix_map.get(game, None)}"
__annotations__[identifier] = EnumProperty(
Expand Down

0 comments on commit 9860594

Please sign in to comment.