diff --git a/assets/layers/indoors/indoors.json b/assets/layers/indoors/indoors.json
index 8df4684fd..833ba1b1f 100644
--- a/assets/layers/indoors/indoors.json
+++ b/assets/layers/indoors/indoors.json
@@ -71,6 +71,29 @@
"images",
{
"id": "ref",
+ "question": {
+ "en": "What is the reference number of this room?"
+ },
+ "render": {
+ "en": "This room has the reference number {ref}"
+ },
+ "freeform": {
+ "key": "ref",
+ "type": "string",
+ "placeholder": {
+ "en": "Reference number of the room (e.g. '1.1' or 'A1')"
+ }
+ },
+ "condition": {
+ "or": [
+ "indoor=room",
+ "indoor=area",
+ "indoor=corridor"
+ ]
+ }
+ },
+ {
+ "id": "name",
"question": {
"en": "What is the name of this room?"
},
@@ -78,7 +101,18 @@
"en": "This room is named {name}"
},
"freeform": {
- "key": "name"
+ "key": "name",
+ "type": "string",
+ "placeholder": {
+ "en": "Name of the room"
+ }
+ },
+ "condition": {
+ "or": [
+ "indoor=room",
+ "indoor=area",
+ "indoor=corridor"
+ ]
}
}
],
@@ -114,24 +148,37 @@
"condition": "indoor=room",
"mappings": [
{
- "if": "room=auditorium",
- "then": "./assets/layers/indoors/room_auditorium.svg"
- },
- {
- "if": "room=conference",
- "then": "./assets/layers/indoors/room_conference.svg"
- },
- {
- "if": "room=storage",
- "then": "./assets/layers/indoors/room_storage.svg"
+ "if": {
+ "or": [
+ "room=adminstration",
+ "room=auditorium",
+ "room=bedroom",
+ "room=chapel",
+ "room=class",
+ "room=computer",
+ "room=conference",
+ "room=crypt",
+ "room=kitchen",
+ "room=laboratory",
+ "room=library",
+ "room=locker",
+ "room=nursery",
+ "room=office",
+ "room=prison_cell",
+ "room=restaurant",
+ "room=security_check",
+ "room=sport",
+ "room=storage",
+ "room=technical",
+ "room=toilets",
+ "room=waiting"
+ ]
+ },
+ "then": "./assets/layers/indoors/room_{room}.svg"
},
{
"if": "room=toilet",
"then": "./assets/layers/indoors/room_toilets.svg"
- },
- {
- "if": "room=toilets",
- "then": "./assets/layers/indoors/room_toilets.svg"
}
]
},
diff --git a/assets/layers/indoors/license_info.json b/assets/layers/indoors/license_info.json
index 5741b7097..858f28f2e 100644
--- a/assets/layers/indoors/license_info.json
+++ b/assets/layers/indoors/license_info.json
@@ -1,4 +1,14 @@
[
+ {
+ "path": "room_administration.svg",
+ "license": "GNU",
+ "authors": [
+ "Adrien Pavie"
+ ],
+ "sources": [
+ "https://framagit.org/OpenLevelUp/OpenLevelUp/-/blob/master/src/img/features-vector/room_administration.svg"
+ ]
+ },
{
"path": "room_auditorium.svg",
"license": "GNU",
@@ -9,6 +19,46 @@
"https://framagit.org/OpenLevelUp/OpenLevelUp/-/blob/master/src/img/features-vector/room_auditorium.svg"
]
},
+ {
+ "path": "room_bedroom.svg",
+ "license": "GNU",
+ "authors": [
+ "Adrien Pavie"
+ ],
+ "sources": [
+ "https://framagit.org/OpenLevelUp/OpenLevelUp/-/blob/master/src/img/features-vector/room_bedroom.svg"
+ ]
+ },
+ {
+ "path": "room_chapel.svg",
+ "license": "GNU",
+ "authors": [
+ "Adrien Pavie"
+ ],
+ "sources": [
+ "https://framagit.org/OpenLevelUp/OpenLevelUp/-/blob/master/src/img/features-vector/room_chapel.svg"
+ ]
+ },
+ {
+ "path": "room_class.svg",
+ "license": "GNU",
+ "authors": [
+ "Adrien Pavie"
+ ],
+ "sources": [
+ "https://framagit.org/OpenLevelUp/OpenLevelUp/-/blob/master/src/img/features-vector/room_class.svg"
+ ]
+ },
+ {
+ "path": "room_computer.svg",
+ "license": "GNU",
+ "authors": [
+ "Adrien Pavie"
+ ],
+ "sources": [
+ "https://framagit.org/OpenLevelUp/OpenLevelUp/-/blob/master/src/img/features-vector/room_computer.svg"
+ ]
+ },
{
"path": "room_conference.svg",
"license": "GNU",
@@ -19,6 +69,116 @@
"https://framagit.org/OpenLevelUp/OpenLevelUp/-/blob/master/src/img/features-vector/room_conference.svg"
]
},
+ {
+ "path": "room_crypt.svg",
+ "license": "GNU",
+ "authors": [
+ "Adrien Pavie"
+ ],
+ "sources": [
+ "https://framagit.org/OpenLevelUp/OpenLevelUp/-/blob/master/src/img/features-vector/room_crypt.svg"
+ ]
+ },
+ {
+ "path": "room_kitchen.svg",
+ "license": "GNU",
+ "authors": [
+ "Adrien Pavie"
+ ],
+ "sources": [
+ "https://framagit.org/OpenLevelUp/OpenLevelUp/-/blob/master/src/img/features-vector/room_kitchen.svg"
+ ]
+ },
+ {
+ "path": "room_laboratory.svg",
+ "license": "GNU",
+ "authors": [
+ "Adrien Pavie"
+ ],
+ "sources": [
+ "https://framagit.org/OpenLevelUp/OpenLevelUp/-/blob/master/src/img/features-vector/room_laboratory.svg"
+ ]
+ },
+ {
+ "path": "room_library.svg",
+ "license": "GNU",
+ "authors": [
+ "Adrien Pavie"
+ ],
+ "sources": [
+ "https://framagit.org/OpenLevelUp/OpenLevelUp/-/blob/master/src/img/features-vector/room_library.svg"
+ ]
+ },
+ {
+ "path": "room_locker.svg",
+ "license": "GNU",
+ "authors": [
+ "Adrien Pavie"
+ ],
+ "sources": [
+ "https://framagit.org/OpenLevelUp/OpenLevelUp/-/blob/master/src/img/features-vector/room_locker.svg"
+ ]
+ },
+ {
+ "path": "room_nursery.svg",
+ "license": "GNU",
+ "authors": [
+ "Adrien Pavie"
+ ],
+ "sources": [
+ "https://framagit.org/OpenLevelUp/OpenLevelUp/-/blob/master/src/img/features-vector/room_nursery.svg"
+ ]
+ },
+ {
+ "path": "room_office.svg",
+ "license": "GNU",
+ "authors": [
+ "Adrien Pavie"
+ ],
+ "sources": [
+ "https://framagit.org/OpenLevelUp/OpenLevelUp/-/blob/master/src/img/features-vector/room_office.svg"
+ ]
+ },
+ {
+ "path": "room_prison_cell.svg",
+ "license": "GNU",
+ "authors": [
+ "Adrien Pavie"
+ ],
+ "sources": [
+ "https://framagit.org/OpenLevelUp/OpenLevelUp/-/blob/master/src/img/features-vector/room_prison_cell.svg"
+ ]
+ },
+ {
+ "path": "room_restaurant.svg",
+ "license": "GNU",
+ "authors": [
+ "Adrien Pavie"
+ ],
+ "sources": [
+ "https://framagit.org/OpenLevelUp/OpenLevelUp/-/blob/master/src/img/features-vector/room_restaurant.svg"
+ ]
+ },
+ {
+ "path": "room_security_check.svg",
+ "license": "GNU",
+ "authors": [
+ "Adrien Pavie"
+ ],
+ "sources": [
+ "https://framagit.org/OpenLevelUp/OpenLevelUp/-/blob/master/src/img/features-vector/room_security_check.svg"
+ ]
+ },
+ {
+ "path": "room_sport.svg",
+ "license": "GNU",
+ "authors": [
+ "Adrien Pavie"
+ ],
+ "sources": [
+ "https://framagit.org/OpenLevelUp/OpenLevelUp/-/blob/master/src/img/features-vector/room_sport.svg"
+ ]
+ },
{
"path": "room_storage.svg",
"license": "GNU",
@@ -29,6 +189,16 @@
"https://framagit.org/OpenLevelUp/OpenLevelUp/-/blob/master/src/img/features-vector/room_storage.svg"
]
},
+ {
+ "path": "room_technical.svg",
+ "license": "GNU",
+ "authors": [
+ "Adrien Pavie"
+ ],
+ "sources": [
+ "https://framagit.org/OpenLevelUp/OpenLevelUp/-/blob/master/src/img/features-vector/room_technical.svg"
+ ]
+ },
{
"path": "room_toilets.svg",
"license": "GNU",
@@ -38,5 +208,15 @@
"sources": [
"https://framagit.org/OpenLevelUp/OpenLevelUp/-/blob/master/src/img/features-vector/room_toilets.svg"
]
+ },
+ {
+ "path": "room_waiting.svg",
+ "license": "GNU",
+ "authors": [
+ "Adrien Pavie"
+ ],
+ "sources": [
+ "https://framagit.org/OpenLevelUp/OpenLevelUp/-/blob/master/src/img/features-vector/room_waiting.svg"
+ ]
}
]
\ No newline at end of file
diff --git a/assets/layers/indoors/room_administration.svg b/assets/layers/indoors/room_administration.svg
new file mode 100644
index 000000000..3bc7f7bba
--- /dev/null
+++ b/assets/layers/indoors/room_administration.svg
@@ -0,0 +1,55 @@
+
+
+
+
\ No newline at end of file
diff --git a/assets/layers/indoors/room_bedroom.svg b/assets/layers/indoors/room_bedroom.svg
new file mode 100644
index 000000000..183cd8666
--- /dev/null
+++ b/assets/layers/indoors/room_bedroom.svg
@@ -0,0 +1,175 @@
+
+
+
+
diff --git a/assets/layers/indoors/room_chapel.svg b/assets/layers/indoors/room_chapel.svg
new file mode 100644
index 000000000..1dc57c010
--- /dev/null
+++ b/assets/layers/indoors/room_chapel.svg
@@ -0,0 +1,185 @@
+
+
+
+
diff --git a/assets/layers/indoors/room_class.svg b/assets/layers/indoors/room_class.svg
new file mode 100644
index 000000000..ea194e66d
--- /dev/null
+++ b/assets/layers/indoors/room_class.svg
@@ -0,0 +1,115 @@
+
+
+
+
diff --git a/assets/layers/indoors/room_computer.svg b/assets/layers/indoors/room_computer.svg
new file mode 100644
index 000000000..c5637733f
--- /dev/null
+++ b/assets/layers/indoors/room_computer.svg
@@ -0,0 +1,55 @@
+
+
+
+
\ No newline at end of file
diff --git a/assets/layers/indoors/room_crypt.svg b/assets/layers/indoors/room_crypt.svg
new file mode 100644
index 000000000..eae7a7ed1
--- /dev/null
+++ b/assets/layers/indoors/room_crypt.svg
@@ -0,0 +1,121 @@
+
+
+
+
diff --git a/assets/layers/indoors/room_kitchen.svg b/assets/layers/indoors/room_kitchen.svg
new file mode 100644
index 000000000..fc666fc94
--- /dev/null
+++ b/assets/layers/indoors/room_kitchen.svg
@@ -0,0 +1,113 @@
+
+
+
+
diff --git a/assets/layers/indoors/room_laboratory.svg b/assets/layers/indoors/room_laboratory.svg
new file mode 100644
index 000000000..04c740fe7
--- /dev/null
+++ b/assets/layers/indoors/room_laboratory.svg
@@ -0,0 +1,78 @@
+
+
+
+
\ No newline at end of file
diff --git a/assets/layers/indoors/room_library.svg b/assets/layers/indoors/room_library.svg
new file mode 100644
index 000000000..31ae21fff
--- /dev/null
+++ b/assets/layers/indoors/room_library.svg
@@ -0,0 +1,115 @@
+
+
+
+
diff --git a/assets/layers/indoors/room_locker.svg b/assets/layers/indoors/room_locker.svg
new file mode 100644
index 000000000..6826a50c0
--- /dev/null
+++ b/assets/layers/indoors/room_locker.svg
@@ -0,0 +1,74 @@
+
+
+
+
diff --git a/assets/layers/indoors/room_nursery.svg b/assets/layers/indoors/room_nursery.svg
new file mode 100644
index 000000000..549839df0
--- /dev/null
+++ b/assets/layers/indoors/room_nursery.svg
@@ -0,0 +1,155 @@
+
+
+
+
diff --git a/assets/layers/indoors/room_office.svg b/assets/layers/indoors/room_office.svg
new file mode 100644
index 000000000..4e49e97f4
--- /dev/null
+++ b/assets/layers/indoors/room_office.svg
@@ -0,0 +1,117 @@
+
+
+
+
diff --git a/assets/layers/indoors/room_prison_cell.svg b/assets/layers/indoors/room_prison_cell.svg
new file mode 100644
index 000000000..3fd3d2116
--- /dev/null
+++ b/assets/layers/indoors/room_prison_cell.svg
@@ -0,0 +1,124 @@
+
+
+
+
diff --git a/assets/layers/indoors/room_restaurant.svg b/assets/layers/indoors/room_restaurant.svg
new file mode 100644
index 000000000..97b43c91a
--- /dev/null
+++ b/assets/layers/indoors/room_restaurant.svg
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+
+
+ image/svg+xml
+
+
+ en
+
+
+
+
+ image/svg+xml
+
+
+
+
+
+
+
+
diff --git a/assets/layers/indoors/room_security_check.svg b/assets/layers/indoors/room_security_check.svg
new file mode 100644
index 000000000..2cc0a3e05
--- /dev/null
+++ b/assets/layers/indoors/room_security_check.svg
@@ -0,0 +1,59 @@
+
+
diff --git a/assets/layers/indoors/room_sport.svg b/assets/layers/indoors/room_sport.svg
new file mode 100644
index 000000000..5a5949fe3
--- /dev/null
+++ b/assets/layers/indoors/room_sport.svg
@@ -0,0 +1,111 @@
+
+
+
+
+
+
+
+
+ image/svg+xml
+
+
+ en
+
+
+
+
+ image/svg+xml
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/assets/layers/indoors/room_technical.svg b/assets/layers/indoors/room_technical.svg
new file mode 100644
index 000000000..b058c935c
--- /dev/null
+++ b/assets/layers/indoors/room_technical.svg
@@ -0,0 +1,8 @@
+
\ No newline at end of file
diff --git a/assets/layers/indoors/room_waiting.svg b/assets/layers/indoors/room_waiting.svg
new file mode 100644
index 000000000..e3aacd19e
--- /dev/null
+++ b/assets/layers/indoors/room_waiting.svg
@@ -0,0 +1,108 @@
+
+
+
+