Skip to content

Commit

Permalink
Add roller coaster presets (#985)
Browse files Browse the repository at this point in the history
Adds presets for:

* roller_coaster=track
* roller_coaster=station
* roller_coaster=support

Also adds a field for roller_coaster:track=* and the layer field to attraction=water_slide
  • Loading branch information
arch0345 authored Dec 15, 2023
1 parent f3e7603 commit 0f157cc
Show file tree
Hide file tree
Showing 5 changed files with 94 additions and 1 deletion.
37 changes: 37 additions & 0 deletions data/fields/roller_coaster/track.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"key": "roller_coaster",
"type": "combo",
"label": "Type",
"strings": {
"options": {
"lift_hill": {
"title": "Lift Hill",
"description": "An inclined track meant to give the trains potential energy"
},
"launch_straight": {
"title": "Launch Track",
"description": "A section of track meant to accelerate the trains through external input"
},
"brake_run": {
"title": "Brake Run",
"description": "A section of track meant to slow or stop trains"
},
"station": {
"title": "Station",
"description": "A section of track where a train stops to board and unboard passengers"
},
"moving": {
"title": "Moving",
"description": "Any type of moving track, like switch tracks"
},
"waiting": {
"title": "Waiting",
"description": "Tracks used to hold trains if the next block section is occupied"
},
"maintenance": {
"title": "Maintenance",
"description": "Tracks meant to hold spare trains or conduct maintenance"
}
}
}
}
3 changes: 2 additions & 1 deletion data/presets/attraction/water_slide.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"icon": "roentgen-slide_and_water",
"fields": [
"{attraction}",
"height"
"height",
"layer"
],
"moreFields": [
"{attraction}",
Expand Down
18 changes: 18 additions & 0 deletions data/presets/roller_coaster/station.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"icon": "temaki-roller_coaster",
"fields": [
"building_area_yes"
],
"geometry": [
"vertex",
"area"
],
"terms": [
"theme park",
"amusement ride"
],
"tags": {
"roller_coaster": "station"
},
"name": "Roller Coaster Station"
}
18 changes: 18 additions & 0 deletions data/presets/roller_coaster/support.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"icon": "roentgen-tower",
"fields": [
"height",
"layer",
"material"
],
"moreFields": [
"colour"
],
"geometry": [
"line"
],
"tags": {
"roller_coaster": "support"
},
"name": "Roller Coaster Support"
}
19 changes: 19 additions & 0 deletions data/presets/roller_coaster/track.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"icon": "temaki-roller_coaster",
"fields": [
"roller_coaster/track",
"height",
"layer"
],
"geometry": [
"line"
],
"terms": [
"theme park",
"amusement ride"
],
"tags": {
"roller_coaster": "track"
},
"name": "Roller Coaster Track"
}

0 comments on commit 0f157cc

Please sign in to comment.