From 2079fb4f9eed2d9c14a4b0ff0f1e9247fe10ff63 Mon Sep 17 00:00:00 2001 From: JamesKingdom Date: Sun, 24 Sep 2017 19:30:41 +0100 Subject: [PATCH] Adding playground presets --- data/presets.yaml | 61 +++++++ data/presets/fields.json | 5 + data/presets/fields/playground/baby.json | 5 + data/presets/presets.json | 164 ++++++++++++++++++ .../presets/playground/balance_beam.json | 11 ++ .../presets/playground/basket_spinner.json | 13 ++ .../presets/playground/basket_swing.json | 10 ++ .../presets/playground/climbing_frame.json | 11 ++ data/presets/presets/playground/cushion.json | 11 ++ .../presets/playground/horizontal_bar.json | 16 ++ data/presets/presets/playground/rocker.json | 10 ++ .../presets/playground/roundabout.json | 14 ++ data/presets/presets/playground/sandpit.json | 11 ++ data/presets/presets/playground/seesaw.json | 10 ++ data/presets/presets/playground/slide.json | 11 ++ .../presets/presets/playground/structure.json | 11 ++ data/presets/presets/playground/swing.json | 14 ++ data/presets/presets/playground/zipwire.json | 11 ++ data/taginfo.json | 56 ++++++ dist/locales/en.json | 59 +++++++ 20 files changed, 514 insertions(+) create mode 100644 data/presets/fields/playground/baby.json create mode 100644 data/presets/presets/playground/balance_beam.json create mode 100644 data/presets/presets/playground/basket_spinner.json create mode 100644 data/presets/presets/playground/basket_swing.json create mode 100644 data/presets/presets/playground/climbing_frame.json create mode 100644 data/presets/presets/playground/cushion.json create mode 100644 data/presets/presets/playground/horizontal_bar.json create mode 100644 data/presets/presets/playground/rocker.json create mode 100644 data/presets/presets/playground/roundabout.json create mode 100644 data/presets/presets/playground/sandpit.json create mode 100644 data/presets/presets/playground/seesaw.json create mode 100644 data/presets/presets/playground/slide.json create mode 100644 data/presets/presets/playground/structure.json create mode 100644 data/presets/presets/playground/swing.json create mode 100644 data/presets/presets/playground/zipwire.json diff --git a/data/presets.yaml b/data/presets.yaml index 0a1738669..aedc0fba6 100644 --- a/data/presets.yaml +++ b/data/presets.yaml @@ -1041,6 +1041,9 @@ en: label: Power Output # plant/output/electricity field placeholder placeholder: '500 MW, 1000 MW, 2000 MW...' + playground/baby: + # baby=* + label: Baby Seat population: # population=* label: Population @@ -3962,6 +3965,64 @@ en: # place=village name: Village terms: '' + playground/balance_beam: + # playground=balancebeam + name: Balance Beam + terms: '' + playground/basket_spinner: + # playground=basketrotator + name: Basket Spinner + # 'terms: basket rotator' + terms: '' + playground/basket_swing: + # playground=basketswing + name: Basket Swing + terms: '' + playground/climbing_frame: + # playground=climbingframe + name: Climbing Frame + terms: '' + playground/cushion: + # playground=cushion + name: Bouncy Cushion + terms: '' + playground/horizontal_bar: + # playground=horizontal_bar + name: Horizontal Bar + # 'terms: high bar' + terms: '' + playground/rocker: + # playground=springy + name: Springy Rocker + terms: '' + playground/roundabout: + # playground=roundabout + name: Play Roundabout + terms: '' + playground/sandpit: + # playground=sandpit + name: Sandpit + terms: '' + playground/seesaw: + # playground=seesaw + name: Seesaw + terms: '' + playground/slide: + # playground=slide + name: Slide + terms: '' + playground/structure: + # playground=structure + name: Play Structure + terms: '' + playground/swing: + # playground=swing + name: Swing + terms: '' + playground/zipwire: + # playground=zipwire + name: Zip Wire + terms: '' point: name: Point terms: '' diff --git a/data/presets/fields.json b/data/presets/fields.json index fdd38b0ed..937528856 100644 --- a/data/presets/fields.json +++ b/data/presets/fields.json @@ -1383,6 +1383,11 @@ "label": "Power Output", "placeholder": "500 MW, 1000 MW, 2000 MW..." }, + "playground/baby": { + "key": "baby", + "type": "check", + "label": "Baby Seat" + }, "population": { "key": "population", "type": "text", diff --git a/data/presets/fields/playground/baby.json b/data/presets/fields/playground/baby.json new file mode 100644 index 000000000..8af537ab2 --- /dev/null +++ b/data/presets/fields/playground/baby.json @@ -0,0 +1,5 @@ +{ + "key": "baby", + "type": "check", + "label": "Baby Seat" +} \ No newline at end of file diff --git a/data/presets/presets.json b/data/presets/presets.json index fa8cddbd6..83ac0ea53 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -11476,6 +11476,170 @@ }, "name": "Village" }, + "playground/balance_beam": { + "icon": "playground", + "geometry": [ + "point", + "line" + ], + "tags": { + "playground": "balancebeam" + }, + "name": "Balance Beam" + }, + "playground/basket_spinner": { + "icon": "playground", + "geometry": [ + "point" + ], + "terms": [ + "basket rotator" + ], + "tags": { + "playground": "basketrotator" + }, + "name": "Basket Spinner" + }, + "playground/basket_swing": { + "icon": "playground", + "geometry": [ + "point" + ], + "tags": { + "playground": "basketswing" + }, + "name": "Basket Swing" + }, + "playground/climbing_frame": { + "icon": "playground", + "geometry": [ + "point", + "area" + ], + "tags": { + "playground": "climbingframe" + }, + "name": "Climbing Frame" + }, + "playground/cushion": { + "icon": "playground", + "geometry": [ + "point", + "area" + ], + "tags": { + "playground": "cushion" + }, + "name": "Bouncy Cushion" + }, + "playground/horizontal_bar": { + "icon": "pitch", + "fields": [ + "height" + ], + "geometry": [ + "point" + ], + "terms": [ + "high bar" + ], + "tags": { + "playground": "horizontal_bar" + }, + "name": "Horizontal Bar" + }, + "playground/rocker": { + "icon": "playground", + "geometry": [ + "point" + ], + "tags": { + "playground": "springy" + }, + "name": "Springy Rocker" + }, + "playground/roundabout": { + "icon": "stadium", + "fields": [ + "bench" + ], + "geometry": [ + "point", + "area" + ], + "tags": { + "playground": "roundabout" + }, + "name": "Play Roundabout" + }, + "playground/sandpit": { + "icon": "playground", + "geometry": [ + "point", + "area" + ], + "tags": { + "playground": "sandpit" + }, + "name": "Sandpit" + }, + "playground/seesaw": { + "icon": "playground", + "geometry": [ + "point" + ], + "tags": { + "playground": "seesaw" + }, + "name": "Seesaw" + }, + "playground/slide": { + "icon": "entrance", + "geometry": [ + "point", + "line" + ], + "tags": { + "playground": "slide" + }, + "name": "Slide" + }, + "playground/structure": { + "icon": "pitch", + "geometry": [ + "point", + "area" + ], + "tags": { + "playground": "structure" + }, + "name": "Play Structure" + }, + "playground/swing": { + "icon": "playground", + "fields": [ + "playground/baby", + "wheelchair" + ], + "geometry": [ + "point" + ], + "tags": { + "playground": "swing" + }, + "name": "Swing" + }, + "playground/zipwire": { + "icon": "playground", + "geometry": [ + "point", + "line" + ], + "tags": { + "playground": "zipwire" + }, + "name": "Zip Wire" + }, "point": { "fields": [ "name" diff --git a/data/presets/presets/playground/balance_beam.json b/data/presets/presets/playground/balance_beam.json new file mode 100644 index 000000000..bacccbc0c --- /dev/null +++ b/data/presets/presets/playground/balance_beam.json @@ -0,0 +1,11 @@ +{ + "icon": "playground", + "geometry": [ + "point", + "line" + ], + "tags": { + "playground": "balancebeam" + }, + "name": "Balance Beam" +} diff --git a/data/presets/presets/playground/basket_spinner.json b/data/presets/presets/playground/basket_spinner.json new file mode 100644 index 000000000..5ecbab992 --- /dev/null +++ b/data/presets/presets/playground/basket_spinner.json @@ -0,0 +1,13 @@ +{ + "icon": "playground", + "geometry": [ + "point" + ], + "terms": [ + "basket rotator" + ], + "tags": { + "playground": "basketrotator" + }, + "name": "Basket Spinner" +} diff --git a/data/presets/presets/playground/basket_swing.json b/data/presets/presets/playground/basket_swing.json new file mode 100644 index 000000000..92dfdcfd0 --- /dev/null +++ b/data/presets/presets/playground/basket_swing.json @@ -0,0 +1,10 @@ +{ + "icon": "playground", + "geometry": [ + "point" + ], + "tags": { + "playground": "basketswing" + }, + "name": "Basket Swing" +} diff --git a/data/presets/presets/playground/climbing_frame.json b/data/presets/presets/playground/climbing_frame.json new file mode 100644 index 000000000..274c3af02 --- /dev/null +++ b/data/presets/presets/playground/climbing_frame.json @@ -0,0 +1,11 @@ +{ + "icon": "playground", + "geometry": [ + "point", + "area" + ], + "tags": { + "playground": "climbingframe" + }, + "name": "Climbing Frame" +} diff --git a/data/presets/presets/playground/cushion.json b/data/presets/presets/playground/cushion.json new file mode 100644 index 000000000..120519c94 --- /dev/null +++ b/data/presets/presets/playground/cushion.json @@ -0,0 +1,11 @@ +{ + "icon": "playground", + "geometry": [ + "point", + "area" + ], + "tags": { + "playground": "cushion" + }, + "name": "Bouncy Cushion" +} diff --git a/data/presets/presets/playground/horizontal_bar.json b/data/presets/presets/playground/horizontal_bar.json new file mode 100644 index 000000000..c481674c6 --- /dev/null +++ b/data/presets/presets/playground/horizontal_bar.json @@ -0,0 +1,16 @@ +{ + "icon": "pitch", + "fields": [ + "height" + ], + "geometry": [ + "point" + ], + "terms": [ + "high bar" + ], + "tags": { + "playground": "horizontal_bar" + }, + "name": "Horizontal Bar" +} diff --git a/data/presets/presets/playground/rocker.json b/data/presets/presets/playground/rocker.json new file mode 100644 index 000000000..9a677c034 --- /dev/null +++ b/data/presets/presets/playground/rocker.json @@ -0,0 +1,10 @@ +{ + "icon": "playground", + "geometry": [ + "point" + ], + "tags": { + "playground": "springy" + }, + "name": "Springy Rocker" +} diff --git a/data/presets/presets/playground/roundabout.json b/data/presets/presets/playground/roundabout.json new file mode 100644 index 000000000..11a002bf7 --- /dev/null +++ b/data/presets/presets/playground/roundabout.json @@ -0,0 +1,14 @@ +{ + "icon": "stadium", + "fields": [ + "bench" + ], + "geometry": [ + "point", + "area" + ], + "tags": { + "playground": "roundabout" + }, + "name": "Play Roundabout" +} diff --git a/data/presets/presets/playground/sandpit.json b/data/presets/presets/playground/sandpit.json new file mode 100644 index 000000000..3bc438afd --- /dev/null +++ b/data/presets/presets/playground/sandpit.json @@ -0,0 +1,11 @@ +{ + "icon": "playground", + "geometry": [ + "point", + "area" + ], + "tags": { + "playground": "sandpit" + }, + "name": "Sandpit" +} diff --git a/data/presets/presets/playground/seesaw.json b/data/presets/presets/playground/seesaw.json new file mode 100644 index 000000000..e0ce124b1 --- /dev/null +++ b/data/presets/presets/playground/seesaw.json @@ -0,0 +1,10 @@ +{ + "icon": "playground", + "geometry": [ + "point" + ], + "tags": { + "playground": "seesaw" + }, + "name": "Seesaw" +} diff --git a/data/presets/presets/playground/slide.json b/data/presets/presets/playground/slide.json new file mode 100644 index 000000000..4a5c30f59 --- /dev/null +++ b/data/presets/presets/playground/slide.json @@ -0,0 +1,11 @@ +{ + "icon": "entrance", + "geometry": [ + "point", + "line" + ], + "tags": { + "playground": "slide" + }, + "name": "Slide" +} diff --git a/data/presets/presets/playground/structure.json b/data/presets/presets/playground/structure.json new file mode 100644 index 000000000..bbd6e2b0c --- /dev/null +++ b/data/presets/presets/playground/structure.json @@ -0,0 +1,11 @@ +{ + "icon": "pitch", + "geometry": [ + "point", + "area" + ], + "tags": { + "playground": "structure" + }, + "name": "Play Structure" +} diff --git a/data/presets/presets/playground/swing.json b/data/presets/presets/playground/swing.json new file mode 100644 index 000000000..5f66d0428 --- /dev/null +++ b/data/presets/presets/playground/swing.json @@ -0,0 +1,14 @@ +{ + "icon": "playground", + "fields": [ + "playground/baby", + "wheelchair" + ], + "geometry": [ + "point" + ], + "tags": { + "playground": "swing" + }, + "name": "Swing" +} diff --git a/data/presets/presets/playground/zipwire.json b/data/presets/presets/playground/zipwire.json new file mode 100644 index 000000000..e3a9460db --- /dev/null +++ b/data/presets/presets/playground/zipwire.json @@ -0,0 +1,11 @@ +{ + "icon": "playground", + "geometry": [ + "point", + "line" + ], + "tags": { + "playground": "zipwire" + }, + "name": "Zip Wire" +} diff --git a/data/taginfo.json b/data/taginfo.json index 4b32bc5ae..e98af836f 100644 --- a/data/taginfo.json +++ b/data/taginfo.json @@ -2220,6 +2220,62 @@ "key": "place", "value": "village" }, + { + "key": "playground", + "value": "balancebeam" + }, + { + "key": "playground", + "value": "basketrotator" + }, + { + "key": "playground", + "value": "basketswing" + }, + { + "key": "playground", + "value": "climbingframe" + }, + { + "key": "playground", + "value": "cushion" + }, + { + "key": "playground", + "value": "horizontal_bar" + }, + { + "key": "playground", + "value": "springy" + }, + { + "key": "playground", + "value": "roundabout" + }, + { + "key": "playground", + "value": "sandpit" + }, + { + "key": "playground", + "value": "seesaw" + }, + { + "key": "playground", + "value": "slide" + }, + { + "key": "playground", + "value": "structure" + }, + { + "key": "playground", + "value": "swing" + }, + { + "key": "playground", + "value": "zipwire" + }, { "key": "power", "value": "sub_station" diff --git a/dist/locales/en.json b/dist/locales/en.json index b3033a55e..29f040329 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -1955,6 +1955,9 @@ "label": "Power Output", "placeholder": "500 MW, 1000 MW, 2000 MW..." }, + "playground/baby": { + "label": "Baby Seat" + }, "population": { "label": "Population" }, @@ -4572,6 +4575,62 @@ "name": "Village", "terms": "" }, + "playground/balance_beam": { + "name": "Balance Beam", + "terms": "" + }, + "playground/basket_spinner": { + "name": "Basket Spinner", + "terms": "basket rotator" + }, + "playground/basket_swing": { + "name": "Basket Swing", + "terms": "" + }, + "playground/climbing_frame": { + "name": "Climbing Frame", + "terms": "" + }, + "playground/cushion": { + "name": "Bouncy Cushion", + "terms": "" + }, + "playground/horizontal_bar": { + "name": "Horizontal Bar", + "terms": "high bar" + }, + "playground/rocker": { + "name": "Springy Rocker", + "terms": "" + }, + "playground/roundabout": { + "name": "Play Roundabout", + "terms": "" + }, + "playground/sandpit": { + "name": "Sandpit", + "terms": "" + }, + "playground/seesaw": { + "name": "Seesaw", + "terms": "" + }, + "playground/slide": { + "name": "Slide", + "terms": "" + }, + "playground/structure": { + "name": "Play Structure", + "terms": "" + }, + "playground/swing": { + "name": "Swing", + "terms": "" + }, + "playground/zipwire": { + "name": "Zip Wire", + "terms": "" + }, "point": { "name": "Point", "terms": ""