refactor: Rename launch_type to propulsion_system across the codebase

This commit is contained in:
pacnpal
2025-09-18 21:01:13 -04:00
parent 516c847377
commit d5cd6ad0a3
21 changed files with 207 additions and 92 deletions

View File

@@ -389,8 +389,8 @@ COASTER_TYPES = [
),
]
# Launch System Choices
LAUNCH_SYSTEMS = [
# Propulsion System Choices
PROPULSION_SYSTEMS = [
RichChoice(
value="CHAIN",
label="Chain Lift",
@@ -442,7 +442,7 @@ LAUNCH_SYSTEMS = [
RichChoice(
value="OTHER",
label="Other",
description="Launch system that doesn't fit standard categories",
description="Propulsion system that doesn't fit standard categories",
metadata={
'color': 'gray',
'icon': 'other',
@@ -760,11 +760,11 @@ def register_rides_choices():
)
register_choices(
name="launch_systems",
choices=LAUNCH_SYSTEMS,
name="propulsion_systems",
choices=PROPULSION_SYSTEMS,
domain="rides",
description="Roller coaster launch and lift systems",
metadata={'domain': 'rides', 'type': 'launch_system', 'applies_to': 'roller_coasters'}
description="Roller coaster propulsion and lift systems",
metadata={'domain': 'rides', 'type': 'propulsion_system', 'applies_to': 'roller_coasters'}
)
register_choices(