diff --git a/data/json/collectionList/filters.json b/data/json/collectionList/filters.json index b18e34d..f055365 100644 --- a/data/json/collectionList/filters.json +++ b/data/json/collectionList/filters.json @@ -36,17 +36,24 @@ }, { "type": "filter", - "name": "all_ITEM_CATEGORY", - "display_name": "Type: ITEM_CATEGORY", + "name": "all_comestible", + "display_name": "Type: comestible", "display_key": "id", - "filter": { "jsonObject.type": { "$eq": "ITEM_CATEGORY" } } + "filter": { "jsonObject.type": { "$eq": "COMESTIBLE" } } }, { "type": "filter", - "name": "all_comestible", - "display_name": "Type: comestible", + "name": "all_effect_type", + "display_name": "Type: effect_type", "display_key": "id", - "filter": { "jsonObject.type": { "$eq": "COMESTIBLE" } } + "filter": { "jsonObject.type": { "$eq": "effect_type" } } + }, + { + "type": "filter", + "name": "all_ITEM_CATEGORY", + "display_name": "Type: ITEM_CATEGORY", + "display_key": "id", + "filter": { "jsonObject.type": { "$eq": "ITEM_CATEGORY" } } }, { "type": "filter", @@ -62,6 +69,20 @@ "display_key": "id", "filter": { "jsonObject.type": { "$eq": "GUNMOD" } } }, + { + "type": "filter", + "name": "all_material", + "display_name": "Type: material", + "display_key": "ident", + "filter": { "jsonObject.type": { "$eq": "material" } } + }, + { + "type": "filter", + "name": "all_mission_definition", + "display_name": "Type: mission_definition", + "display_key": "id", + "filter": { "jsonObject.type": { "$eq": "mission_definition" } } + }, { "type": "filter", "name": "all_monster_attack", @@ -94,6 +115,13 @@ { "fileName": { "$containsNone": "obsolete" } } ] } }, + { + "type": "filter", + "name": "all_skills", + "display_name": "Type: skill", + "display_key": "ident", + "filter": { "jsonObject.type": { "$eq": "skill" } } + }, { "type": "filter", "name": "all_tools", @@ -163,10 +191,10 @@ }, { "type": "filter", - "name": "snippet_category_exists", - "display_name": "Exists: snippet_category", + "name": "revert_to_exists", + "display_name": "Exists: revert_to", "display_key": "id", - "filter": { "jsonObject.snippet_category": { "$exists": true } } + "filter": { "jsonObject.revert_to": { "$exists": true } } }, { "type": "filter", @@ -181,8 +209,8 @@ "display_name": "is equal to id", "display_key": "id", "filter": { "$or": [ - { "jsonObject.id": { "$eq": "launcher" } }, - { "jsonObject.abstract": { "$eq": "launcher" } } + { "jsonObject.id": { "$eq": "ammolink50" } }, + { "jsonObject.abstract": { "$eq": "ammolink50" } } ] } }, { @@ -254,12 +282,13 @@ "display_name": "Old name string in type", "display_key": "name", "filter": { "$and": [ - { "$or": [ - { "jsonObject.type": { "$eq": "GUNMOD" } }, - { "jsonObject.type": { "$eq": "TOOLMOD" } } - ] }, + { "jsonObject.type": { "$eq": "terrain" } }, { "jsonObject.name": { "$type": "string" } }, { "jsonObject.name_plural": { "$exists": false } }, + { "jsonObject.deconstruct": { "$exists": false } }, + { "jsonObject.burn_data": { "$exists": false } }, + { "jsonObject.burn_products": { "$exists": false } }, + { "jsonObject.install_time": { "$exists": false } }, { "fileName": { "$containsNone": "dining_kitchen.json" } }, { "fileName": { "$containsNone": "soup.json" } }, { "fileName": { "$containsNone": "obsolete" } } @@ -271,14 +300,9 @@ "display_name": "Old name_plural string", "display_key": "name", "filter": { "$and": [ - { "$or": [ - { "jsonObject.type": { "$eq": "AMMO" } }, - { "jsonObject.type": { "$eq": "COMESTIBLE" } } - ] }, { "jsonObject.name_plural": { "$exists": true } }, { "fileName": { "$containsNone": "dining_kitchen.json" } }, - { "fileName": { "$containsNone": "soup.json" } }, - { "fileName": { "$containsNone": "obsolete" } } + { "fileName": { "$containsNone": "soup.json" } } ] } } ] \ No newline at end of file diff --git a/data/json/schemas/ammo.json b/data/json/schemas/ammo.json index 98597db..57c48a0 100644 --- a/data/json/schemas/ammo.json +++ b/data/json/schemas/ammo.json @@ -99,14 +99,8 @@ "propertyOrder": 13 }, "range": { - "type": "integer", - "id": "/properties/range", - "title": "Range", - "default": 14, - "description": "The range of the ammo", - "options": { - "hidden": false - } + "$ref": "#/definitions/range", + "propertyOrder": 13 }, "damage": { "type": "integer", diff --git a/data/json/schemas/armor.json b/data/json/schemas/armor.json index 808c968..9e31874 100644 --- a/data/json/schemas/armor.json +++ b/data/json/schemas/armor.json @@ -226,7 +226,6 @@ "type": "array", "id": "/properties/flags", "$ref": "#/definitions/flags_ref" - } }, "definitions": { @@ -251,9 +250,15 @@ "enum": [ "VARSIZE", "STURDY", + "ROLLER_QUAD", + "ROLLER_INLINE", "HELMET_COMPAT", "MAG_COMPACT", "ELECTRIC_IMMUNE", + "STAB", + "FLASH_PROTECTION", + "SWIM_GOGGLES", + "FIN", "BLIND", "OUTER", "MAG_COMPACT", diff --git a/data/json/schemas/comestible.json b/data/json/schemas/comestible.json index a961ce3..c97bf21 100644 --- a/data/json/schemas/comestible.json +++ b/data/json/schemas/comestible.json @@ -207,9 +207,12 @@ "type": "string", "enum": [ "NO_INGEST", + "PLANTABLE_SEED", + "FORAGE_POISON", "EDIBLE_FROZEN", "EATEN_COLD", "EATEN_HOT", + "MELTS", "SMOKED", "LUPINE", "NPC_SAFE", diff --git a/data/json/schemas/effect_type.json b/data/json/schemas/effect_type.json new file mode 100644 index 0000000..6f4a37f --- /dev/null +++ b/data/json/schemas/effect_type.json @@ -0,0 +1,34 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "additionalProperties": true, + "title": "Effect type", + "type": "object", + "id": "https://niebert.github.io/json-editor", + "options": { + "disable_collapse": false, + "disable_edit_json": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "defaultProperties": [ + "type", + "id", + "name" + ], + "properties": { + "id": { + "$ref": "#/definitions/id", + "propertyOrder": 10 + }, + "type": { + "$ref": "#/definitions/type", + "propertyOrder": 11, + "default": "effect_type" + }, + "name": { + "$ref": "#/definitions/name", + "propertyOrder": 12 + } + } +} \ No newline at end of file diff --git a/data/json/schemas/generaldefinitions.json b/data/json/schemas/generaldefinitions.json index 2e53599..d48184e 100644 --- a/data/json/schemas/generaldefinitions.json +++ b/data/json/schemas/generaldefinitions.json @@ -105,7 +105,10 @@ "id": "/properties/min_skills/items/oneof0", "default": "weapon", "format": "text", - "enum": [ "weapon", "mechanics", "launcher", "gun", "melee" ], + "filteredEnum": { + "display_key": "ident", + "filter": { "jsonObject.type": { "$eq": "skill" } } + }, "options": { "hidden": false, "compact": true @@ -172,6 +175,7 @@ "enum": [ "pistol", "smg", + "bow", "rifle", "shotgun", "launcher", @@ -266,7 +270,7 @@ }, "fun": { "type": "integer", - "id": "/properties/fun", + "id": "/definitions/fun", "title": "Fun", "default": 3, "description": "Morale effects when used", @@ -277,7 +281,7 @@ }, "vitamins": { "type": "array", - "id": "/properties/vitamins", + "id": "/definitions/vitamins", "title": "Vitamins", "description": "The vitamins this item provides", "format": "table", @@ -292,7 +296,7 @@ }, "items": { "type": "array", - "id": "/properties/vitamins/oneof0", + "id": "/definitions/vitamins/oneof0", "default": [ "VitA", 20 ], "title": "Vitamin", "format": "tabs", @@ -309,7 +313,7 @@ "items": [ { "type": "string", - "id": "/properties/vitamins/items/oneof0", + "id": "/definitions/vitamins/items/oneof0", "default": "VitA", "format": "text", "enum": [ "vitA", "vitB", "vitC", "calcium", "iron", "mutant_toxin" ], @@ -320,7 +324,7 @@ }, { "type": "integer", - "id": "/properties/vitamins/items/oneof1", + "id": "/definitions/vitamins/items/oneof1", "default": 20, "options": { "hidden": false, @@ -333,7 +337,7 @@ }, "abstract": { "type": "string", - "id": "/properties/abstract", + "id": "/definitions/abstract", "title": "Abstract", "default": "flamethrower_base", "format": "text", @@ -344,7 +348,7 @@ }, "id": { "type": "string", - "id": "/properties/id", + "id": "/definitions/id", "title": "Id", "default": "46mm", "format": "text", @@ -355,7 +359,7 @@ }, "type": { "type": "string", - "id": "/properties/type", + "id": "/definitions/type", "title": "Type", "format": "text", "readonly": true, @@ -369,7 +373,7 @@ "oneOf": [ { "type": "string", - "id": "/properties/name", + "id": "/definitions/name", "title": "Old format", "default": "Name of entry", "format": "text", @@ -380,7 +384,7 @@ }, { "type": "object", - "id": "/properties/name", + "id": "/definitions/name", "title": "New format", "format": "grid", "options": { @@ -396,7 +400,7 @@ "properties": { "str": { "type": "string", - "id": "/properties/name/properties/str", + "id": "/definitions/name/properties/str", "title": "Name", "default": "Name of entry", "description": "The name as it will appear in game", @@ -406,7 +410,7 @@ }, "str_pl": { "type": "string", - "id": "/properties/name/properties/str_pl", + "id": "/definitions/name/properties/str_pl", "title": "Plural name", "default": "Plural name of entry", "description": "The name as it will appear in game", @@ -420,7 +424,7 @@ }, "description": { "type": "string", - "id": "/properties/description", + "id": "/definitions/description", "format": "xhtml", "options": { "ace": { @@ -436,7 +440,7 @@ }, "weight": { "type": "string", - "id": "/properties/weight", + "id": "/definitions/weight", "title": "Weight", "default": "5 g", "format": "text", @@ -447,7 +451,7 @@ }, "volume": { "type": "string", - "id": "/properties/volume", + "id": "/definitions/volume", "title": "Volume", "default": "250 ml", "format": "text", @@ -456,9 +460,98 @@ "hidden": false } }, + "mode_modifier": { + "type": "array", + "id": "/definitions/mode_modifier", + "title": "Mode modifier", + "description": "The mode modifier this item provides", + "format": "table", + "options": { + "disable_collapse": false, + "disable_array_add": false, + "disable_array_delete": false, + "disable_array_reorder": true, + "disable_array_delete_all_rows": true, + "disable_array_delete_last_row": true, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "items": { + "type": "array", + "default": [ "DEFAULT", "auto", 14 ], + "title": "Mode", + "format": "grid", + "options": { + "disable_collapse": false, + "disable_array_add": false, + "disable_array_delete": false, + "disable_array_reorder": true, + "disable_array_delete_all_rows": true, + "disable_array_delete_last_row": true, + "collapsed": false, + "compact": false, + "hidden": false + }, + "items": [ + { + "type": "string", + "default": "DEFAULT", + "format": "text", + "enum": [ "DEFAULT", "REACH", "AUTO" ], + "options": { + "hidden": false, + "compact": true + } + }, + { + "type": "string", + "default": "auto", + "format": "text", + "enum": [ "auto", "bayonet" ], + "options": { + "hidden": false, + "compact": true + } + }, + { + "type": "integer", + "default": 1, + "options": { + "hidden": false, + "inputAttributes": { + "style": "width: 60px" + }, + "compact": true + } + }, + { + "type": "array", + "format": "selectize", + "uniqueItems": true, + "options": { + "disable_collapse": false, + "disable_array_add": false, + "disable_array_delete": false, + "disable_array_reorder": true, + "disable_properties": false, + "collapsed": false, + "hidden": false, + "multiple": true, + "compact": true + }, + "items": { + "type": "string", + "enum": [ "MELEE", "REACH_ATTACK" ] + } + } + ] + }, + "propertyOrder": 90 + }, "price": { "type": "number", - "id": "/properties/price", + "id": "/definitions/price", "title": "Price", "default": 300, "description": "The price from before the cataclysm", @@ -466,9 +559,42 @@ "hidden": false } }, + "ammo_effects": { + "type": "array", + "id": "/definitions/ammo_effects", + "title": "Ammo effects", + "format": "selectize", + "uniqueItems": true, + "options": { + "disable_collapse": false, + "disable_array_add": false, + "disable_array_delete": false, + "disable_array_reorder": true, + "disable_properties": false, + "collapsed": false, + "hidden": false, + "multiple": true + }, + "items": { + "type": "string", + "enum": [ + "EMP", + "LIGHTNING", + "NO_DAMAGE_SCALING", + "DRAW_AS_LINE", + "BEANBAG", + "WIDE", + "NEVER_MISFIRES", + "SHOT", + "FLARE", + "BLINDS_EYES" + ] + }, + "propertyOrder": 60 + }, "price_postapoc": { "type": "number", - "id": "/properties/price_postapoc", + "id": "/definitions/price_postapoc", "title": "Price Postapoc", "default": 5200, "description": "The price after the cataclysm", @@ -921,19 +1047,10 @@ "default": "transform", "format": "text", "description": "The type of method", - "enum": [ - "transform", - "delayed_transform", - "bandolier", - "deploy_furn", - "explosion", - "heal", - "holster", - "firestarter", - "place_trap", - "musical_instrument", - "consume_drug" - ], + "filteredEnum": { + "display_key": "id", + "filter": { "jsonObject.type": { "$eq": "item_action" } } + }, "options": { "hidden": false }, @@ -1309,7 +1426,9 @@ "enum": [ "pkill1", "pkill2", + "pkill3", "high", + "weed_high", "cough_suppress" ], "options": { @@ -1397,12 +1516,10 @@ { "type": "string", "title": "String format", - "enum": [ - "CAMERA", - "MP3", - "HAMMER", - "CROWBAR" - ] + "filteredEnum": { + "display_key": "id", + "filter": { "jsonObject.type": { "$eq": "item_action" } } + } } ] }, @@ -1623,6 +1740,16 @@ }, "propertyOrder": 150 }, + "range": { + "type": "integer", + "id": "/properties/range", + "title": "Range", + "default": 14, + "description": "The range when fired", + "options": { + "hidden": false + } + }, "environmental_protection": { "type": "integer", "id": "/properties/environmental_protection", @@ -1726,6 +1853,7 @@ "TORSO", "ARMS", "HANDS", + "HAND_R", "LEGS", "FEET", "HEAD", diff --git a/data/json/schemas/gun.json b/data/json/schemas/gun.json index 0ee0c8b..9928802 100644 --- a/data/json/schemas/gun.json +++ b/data/json/schemas/gun.json @@ -220,14 +220,8 @@ }, "loudness": {"$ref": "#/definitions/loudness"}, "range": { - "type": "integer", - "id": "properties/range", - "title": "Range", - "default": 1, - "description": "The amount of range", - "options": { - "hidden": false - } + "$ref": "#/definitions/range", + "propertyOrder": 13 }, "reload": { "type": "integer", @@ -665,36 +659,8 @@ "propertyOrder": 20 }, "ammo_effects": { - "type": "array", - "id": "properties/ammo_effects", - "title": "Ammo effects", - "format": "selectize", - "uniqueItems": true, - "options": { - "disable_collapse": false, - "disable_array_add": false, - "disable_array_delete": false, - "disable_array_reorder": true, - "disable_properties": false, - "collapsed": false, - "hidden": false, - "multiple": true - }, - "items": { - "type": "string", - "enum": [ - "EMP", - "LIGHTNING", - "NO_DAMAGE_SCALING", - "DRAW_AS_LINE", - "WIDE", - "NEVER_MISFIRES", - "SHOT", - "FLARE", - "BLINDS_EYES" - ] - }, - "propertyOrder": 60 + "$ref": "#/definitions/ammo_effects", + "propertyOrder": 13 }, "faults": { "type": "array", diff --git a/data/json/schemas/gunmod.json b/data/json/schemas/gunmod.json index 81954b8..5e36ab0 100644 --- a/data/json/schemas/gunmod.json +++ b/data/json/schemas/gunmod.json @@ -90,10 +90,10 @@ } }, "integral_volume": { - "type": "integer", + "type": "string", "id": "/properties/integral_volume", "title": "Integral Volume", - "default": 0, + "default": "0 ml", "description": "Volume added to base item when item is integrated into another (eg. a gunmod integrated to a gun). Volume in ml and L can be used - \"50 ml\" or \"2 L\".", "options": { "hidden": false @@ -137,7 +137,7 @@ "acceptable_ammo": { "type": "array", "id": "/properties/acceptable_ammo", - "title": "acceptable_ammo", + "title": "Acceptable ammo", "format": "selectize", "uniqueItems": true, "options": { @@ -152,7 +152,10 @@ }, "items": { "type": "string", - "$ref": "#/definitions/AMMO" + "filteredEnum": { + "display_key": "id", + "filter": { "jsonObject.type": { "$eq": "ammunition_type" } } + } }, "propertyOrder": 60 }, @@ -232,6 +235,10 @@ "dispersion": { "$ref": "#/definitions/dispersion" }, + "range": { + "$ref": "#/definitions/range", + "propertyOrder": 13 + }, "durability": { "type": "integer", "id": "/properties/gun_data/properties/durability", @@ -268,6 +275,77 @@ }, "propertyOrder": 150 }, + "to_hit": { + "$ref": "#/definitions/to_hit", + "propertyOrder": 13 + }, + "bashing": { + "$ref": "#/definitions/bashing", + "propertyOrder": 150 + }, + "cutting": { + "$ref": "#/definitions/cutting", + "propertyOrder": 13 + }, + "mode_modifier": { + "$ref": "#/definitions/mode_modifier", + "propertyOrder": 13 + }, + "qualities": { + "$ref": "#/definitions/qualities" + }, + "weight_multiplier": { + "type": "number", + "title": "Weight multiplier", + "default": 0.9, + "description": "Increases weight by this many times" + }, + "ups_charges_multiplier": { + "type": "number", + "title": "UPS charges multiplier", + "default": 0.9, + "description": "Increases base gun UPS consumption by this many times per shot" + }, + "consume_chance": { + "type": "integer", + "title": "Consume chance", + "default": 1000, + "description": "Percentage value change to the gun's loading time. Higher is less likely" + }, + "consume_divisor": { + "type": "integer", + "title": "Consume divisor", + "default": 1000, + "description": "Divsor to scale back gunmod consumption damage. lower is more damaging. Affected by ammo loudness and recoil, see ranged.cpp for how much." + }, + "loudness_modifier": { + "type": "integer", + "title": "Loudness modifier", + "default": 4, + "description": "Optional field increasing or decreasing base guns loudness" + }, + "range_modifier": { + "type": "integer", + "title": "Range modifier", + "default": 18, + "description": "Optional field increasing or decreasing base gun range" + }, + "damage_modifier": { + "type": "integer", + "title": "Damage modifier", + "default": 18, + "description": "Optional field increasing or decreasing base gun damage" + }, + "handling_modifier": { + "type": "integer", + "title": "Handling modifier", + "default": 18, + "description": "Optional field increasing or decreasing base gun handling" + }, + "ammo_effects": { + "$ref": "#/definitions/ammo_effects", + "propertyOrder": 13 + }, "magazine_adaptor": { "type": "array", "title": "Magazine adaptor", @@ -301,12 +379,17 @@ { "type": "string", "default": "DEFAULT", - "format": "text", + "format": "selectize", "filteredEnum": { "display_key": "id", "filter": { "jsonObject.type": { "$eq": "ammunition_type" } } }, - "options": { "compact": true } + "options": { + "compact": true, + "inputAttributes": { + "style": "width: 100px" + } + } }, { "type": "array", @@ -413,8 +496,22 @@ "enum": [ "INSTALL_DIFFICULT", "CONSUMABLE", + "NEEDS_UNFOLD", + "WATER_FRIENDLY", + "WATERPROOF_GUN", + "REDUCED_BASHING", + "STAB", + "COLLAPSIBLE_STOCK", + "NO_UNLOAD", "RELOAD_ONE", "ZOOM", + "PUMP_RAIL_COMPATIBLE", + "SKINTIGHT", + "IS_ARMOR", + "SLOW_WIELD", + "BIPOD", + "NON-FOULING", + "FIRE_100", "NEVER_JAMS", "RELOAD_EJECT", "IRREMOVABLE", diff --git a/data/json/schemas/item_group.json b/data/json/schemas/item_group.json new file mode 100644 index 0000000..dbb22e0 --- /dev/null +++ b/data/json/schemas/item_group.json @@ -0,0 +1,34 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "additionalProperties": true, + "title": "Item group", + "type": "object", + "id": "https://niebert.github.io/json-editor", + "options": { + "disable_collapse": false, + "disable_edit_json": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "defaultProperties": [ + "type", + "id", + "name" + ], + "properties": { + "id": { + "$ref": "#/definitions/id", + "propertyOrder": 10 + }, + "type": { + "$ref": "#/definitions/type", + "propertyOrder": 11, + "default": "item_group" + }, + "name": { + "$ref": "#/definitions/name", + "propertyOrder": 12 + } + } +} \ No newline at end of file diff --git a/data/json/schemas/magazine.json b/data/json/schemas/magazine.json index 6629773..090b5a8 100644 --- a/data/json/schemas/magazine.json +++ b/data/json/schemas/magazine.json @@ -70,17 +70,37 @@ "propertyOrder": 13 }, "symbol": { - "$ref": "#/definitions/symbol", - "propertyOrder": 13 + "$ref": "#/definitions/symbol", + "propertyOrder": 13 }, "color": { - "$ref": "#/definitions/color", - "propertyOrder": 13 + "$ref": "#/definitions/color", + "propertyOrder": 13 + }, + "ammo_type": { + "title": "Ammo type", + "oneOf": [ + { + "title": "Single", + "$ref": "#/definitions/ammo_type" + }, + { + "$ref": "#/definitions/string_array", + "title": "Multiple", + "items": { + "type": "string", + "filteredEnum": { + "display_key": "id", + "filter": { "jsonObject.type": { "$eq": "ammunition_type" } } + } + } + } + ] }, - "ammo_type": {"$ref": "#/definitions/ammo_type"}, "count": {"$ref": "#/definitions/count"}, "looks_like": { "type": "string", + "title": "Looks like", "format": "selectize", "filteredEnum": { "display_key": "id", @@ -91,38 +111,32 @@ ] } } }, + "linkage": { + "type": "string", + "title": "Linkage", + "format": "selectize", + "filteredEnum": { + "display_key": "id", + "filter": { "jsonObject.use_action.type": { "$eq": "ammobelt" } } + } + }, "capacity": { "type": "integer", - "id": "/properties/capacity", "title": "Capacity", "default": 3, "description": "Capacity of magazine (in equivalent units to ammo charges)", - "options": { - "hidden": false - }, "propertyOrder": 40 }, "flags": { - "type": "array", - "id": "/properties/flags", - "title": "Flags", - "format": "selectize", - "uniqueItems": true, - "options": { - "disable_collapse": false, - "disable_array_add": false, - "disable_array_delete": false, - "disable_array_reorder": true, - "disable_properties": false, - "collapsed": false, - "hidden": false, - "multiple": true - }, + "$ref": "#/definitions/flags", "items": { "type": "string", "enum": [ "NO_UNLOAD", "NO_RELOAD", + "MAG_COMPACT", + "MAG_BULKY", + "SPEEDLOADER", "RECHARGE", "RADIOACTIVE", "LEAK_DAM", diff --git a/data/json/schemas/material.json b/data/json/schemas/material.json index 176af07..8a789f2 100644 --- a/data/json/schemas/material.json +++ b/data/json/schemas/material.json @@ -4,6 +4,9 @@ "title": "Material", "type": "object", "id": "https://niebert.github.io/json-editor", + "stringifyOptions": { + "maxLength": 116 + }, "options": { "disable_collapse": false, "disable_edit_json": false, @@ -29,6 +32,652 @@ "name": { "$ref": "#/definitions/name", "propertyOrder": 12 + }, + + "ident": { + "type": "string", + "id": "/properties/ident", + "title": "Ident", + "default": "bean", + "format": "text", + "description": "Description for 'ident' Type: 'string' Path: '/properties/ident'", + "options": { + "hidden": false + }, + "propertyOrder": 20 + }, + "density": { + "type": "integer", + "id": "/properties/density", + "title": "Density", + "default": 4, + "description": "A description for 'density' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 40 + }, + "specific_heat_liquid": { + "type": "number", + "id": "/properties/specific_heat_liquid", + "title": "Specific Heat Liquid", + "default": 3.9, + "description": "Specific heat of a material when not frozen (J/(g K)). Default 4.186.", + "options": { + "hidden": false + }, + "propertyOrder": 50 + }, + "specific_heat_solid": { + "type": "number", + "id": "/properties/specific_heat_solid", + "title": "Specific Heat Solid", + "default": 1.9, + "description": "Specific heat of a material when frozen (J/(g K)). Default 2.108.", + "options": { + "hidden": false + }, + "propertyOrder": 60 + }, + "latent_heat": { + "type": "integer", + "id": "/properties/latent_heat", + "title": "Latent Heat", + "default": 290, + "description": "A description for 'latent_heat' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 70 + }, + "edible": { + "type": "boolean", + "id": "/properties/edible", + "title": "Edible", + "format": "checkbox", + "default": true, + "description": "A description for 'edible' Type: 'boolean'", + "options": { + "hidden": false + }, + "propertyOrder": 80 + }, + "rotting": { + "type": "boolean", + "id": "/properties/rotting", + "title": "Rotting", + "format": "checkbox", + "default": true, + "description": "A description for 'rotting' Type: 'boolean'", + "options": { + "hidden": false + }, + "propertyOrder": 90 + }, + "bash_resist": { + "type": "integer", + "id": "/properties/bash_resist", + "title": "Bash Resist", + "default": 1, + "description": "A description for 'bash_resist' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 100 + }, + "cut_resist": { + "type": "integer", + "id": "/properties/cut_resist", + "title": "Cut Resist", + "default": 1, + "description": "A description for 'cut_resist' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 110 + }, + "acid_resist": { + "type": "integer", + "id": "/properties/acid_resist", + "title": "Acid Resist", + "default": 2, + "description": "A description for 'acid_resist' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 120 + }, + "fire_resist": { + "type": "integer", + "id": "/properties/fire_resist", + "title": "Fire Resist", + "default": 1, + "description": "A description for 'fire_resist' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 130 + }, + "elec_resist": { + "type": "integer", + "id": "/properties/elec_resist", + "title": "Elec Resist", + "default": 1, + "description": "A description for 'elec_resist' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 140 + }, + "chip_resist": { + "type": "integer", + "id": "/properties/chip_resist", + "title": "Chip Resist", + "default": 2, + "description": "A description for 'chip_resist' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 150 + }, + "burn_products": { + "type": "array", + "id": "/properties/burn_products", + "title": "Burn Products", + "format": "tabs", + "options": { + "disable_collapse": false, + "disable_array_add": false, + "disable_array_delete": false, + "disable_array_reorder": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "items": { + "type": "array", + "id": "/properties/burn_products/items", + "title": "Title Root Burn Products ", + "format": "tabs", + "options": { + "disable_collapse": false, + "disable_array_add": false, + "disable_array_delete": false, + "disable_array_reorder": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "items": { + "headerTemplate": "Title Root Burn Products {{i1}}", + "oneOf": [ + { + "type": "string", + "id": "/properties/burn_products/items/oneof0", + "title": "oneof 0 /properties/burn_products/items", + "default": "scrap_bronze", + "format": "text", + "description": "Description for 'items' Type: 'string' Path: '/properties/burn_products/items/items'", + "options": { + "hidden": false + } + }, + { + "type": "integer", + "id": "/properties/burn_products/items/oneof1", + "title": "oneof 1 /properties/burn_products/items", + "default": 1, + "description": "A description for 'items' Type: 'integer'", + "options": { + "hidden": false + } + } + ] + } + }, + "propertyOrder": 150 + }, + "repaired_with": { + "type": "string", + "id": "/properties/repaired_with", + "title": "Repaired With", + "default": "scrap_bronze", + "format": "text", + "description": "Description for 'repaired_with' Type: 'string' Path: '/properties/repaired_with'", + "options": { + "hidden": false + }, + "propertyOrder": 110 + }, + "salvaged_into": { + "type": "string", + "title": "Salvaged into", + "default": "kevlar_plate", + "format": "text", + "description": "This material turns into this item when salvaged", + "propertyOrder": 110 + }, + "compacts_into": { + "type": "array", + "title": "Compacts Into", + "description": "What the result will be when put into a compacter", + "format": "grid", + "options": { + "disable_collapse": false, + "disable_array_add": false, + "disable_array_delete": false, + "disable_array_reorder": true, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "items": { + "type": "string", + "default": "scrap_bronze", + "format": "text", + "options": { "compact": true } + }, + "propertyOrder": 160 + }, + "soft": { + "type": "boolean", + "title": "Soft", + "format": "checkbox", + "default": false, + "description": "Is the material soft." + }, + "dmg_adj": { + "type": "array", + "title": "Damage adjective", + "description": "Description added to damaged item in ascending severity.", + "format": "grid", + "options": { + "disable_collapse": false, + "disable_array_add": false, + "disable_array_delete": false, + "disable_array_reorder": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "items": { + "type": "string", + "default": "lightly damaged", + "format": "text", + "options": { "compact": true } + }, + "propertyOrder": 160 + }, + "bash_dmg_verb": { + "type": "string", + "id": "/properties/bash_dmg_verb", + "title": "Bash Dmg Verb", + "default": "squished", + "format": "text", + "description": "Description for 'bash_dmg_verb' Type: 'string' Path: '/properties/bash_dmg_verb'", + "options": { + "hidden": false + }, + "propertyOrder": 170 + }, + "cut_dmg_verb": { + "type": "string", + "id": "/properties/cut_dmg_verb", + "title": "Cut Dmg Verb", + "default": "cut", + "format": "text", + "description": "Description for 'cut_dmg_verb' Type: 'string' Path: '/properties/cut_dmg_verb'", + "options": { + "hidden": false + }, + "propertyOrder": 180 + }, + "vitamins": { + "type": "array", + "id": "/properties/vitamins", + "title": "Vitamins", + "format": "tabs", + "options": { + "disable_collapse": false, + "disable_array_add": false, + "disable_array_delete": false, + "disable_array_reorder": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "items": { + "headerTemplate": "Vitamins {{i1}}", + "oneOf": [ + { + "type": "array", + "id": "/properties/vitamins/oneof0", + "title": "oneof 0 /properties/vitamins", + "format": "tabs", + "options": { + "disable_collapse": false, + "disable_array_add": false, + "disable_array_delete": false, + "disable_array_reorder": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "items": { + "headerTemplate": "Title Root Vitamins {{i1}}", + "oneOf": [ + { + "type": "string", + "id": "/properties/vitamins/items/oneof0", + "title": "oneof 0 /properties/vitamins/items", + "default": "calcium", + "format": "text", + "description": "Description for 'items' Type: 'string' Path: '/properties/vitamins/items/items'", + "options": { + "hidden": false + } + }, + { + "type": "number", + "id": "/properties/vitamins/items/oneof1", + "title": "oneof 1 /properties/vitamins/items", + "default": 0.3, + "description": "A description for 'items' Type: 'number'", + "options": { + "hidden": false + } + } + ] + } + }, + { + "type": "array", + "id": "/properties/vitamins/oneof1", + "title": "oneof 1 /properties/vitamins", + "format": "tabs", + "options": { + "disable_collapse": false, + "disable_array_add": false, + "disable_array_delete": false, + "disable_array_reorder": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "items": { + "headerTemplate": "Title Root Vitamins {{i1}}", + "oneOf": [ + { + "type": "string", + "id": "/properties/vitamins/items/oneof0", + "title": "oneof 0 /properties/vitamins/items", + "default": "vitC", + "format": "text", + "description": "Description for 'items' Type: 'string' Path: '/properties/vitamins/items/items'", + "options": { + "hidden": false + } + }, + { + "type": "number", + "id": "/properties/vitamins/items/oneof1", + "title": "oneof 1 /properties/vitamins/items", + "default": 0.6, + "description": "A description for 'items' Type: 'number'", + "options": { + "hidden": false + } + } + ] + } + }, + { + "type": "array", + "id": "/properties/vitamins/oneof2", + "title": "oneof 2 /properties/vitamins", + "format": "tabs", + "options": { + "disable_collapse": false, + "disable_array_add": false, + "disable_array_delete": false, + "disable_array_reorder": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "items": { + "headerTemplate": "Title Root Vitamins {{i1}}", + "oneOf": [ + { + "type": "string", + "id": "/properties/vitamins/items/oneof0", + "title": "oneof 0 /properties/vitamins/items", + "default": "iron", + "format": "text", + "description": "Description for 'items' Type: 'string' Path: '/properties/vitamins/items/items'", + "options": { + "hidden": false + } + }, + { + "type": "number", + "id": "/properties/vitamins/items/oneof1", + "title": "oneof 1 /properties/vitamins/items", + "default": 0.8, + "description": "A description for 'items' Type: 'number'", + "options": { + "hidden": false + } + } + ] + } + } + ] + }, + "propertyOrder": 190 + }, + "burn_data": { + "type": "array", + "id": "/properties/burn_data", + "title": "Burn Data", + "format": "tabs", + "options": { + "disable_collapse": false, + "disable_array_add": false, + "disable_array_delete": false, + "disable_array_reorder": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "items": { + "headerTemplate": "Burn Data {{i1}}", + "oneOf": [ + { + "type": "object", + "id": "/properties/burn_data/oneof0", + "title": "oneof 0 /properties/burn_data", + "options": { + "disable_collapse": false, + "disable_edit_json": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "defaultProperties": [ + "fuel", + "smoke", + "burn", + "volume_per_turn" + ], + "properties": { + "fuel": { + "type": "integer", + "id": "/properties/burn_data/items/properties/fuel", + "title": "Fuel", + "default": 1, + "description": "A description for 'fuel' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 10 + }, + "smoke": { + "type": "integer", + "id": "/properties/burn_data/items/properties/smoke", + "title": "Smoke", + "default": 1, + "description": "A description for 'smoke' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 20 + }, + "burn": { + "type": "integer", + "id": "/properties/burn_data/items/properties/burn", + "title": "Burn", + "default": 1, + "description": "A description for 'burn' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 30 + }, + "volume_per_turn": { + "type": "string", + "id": "/properties/burn_data/items/properties/volume_per_turn", + "title": "Volume Per Turn", + "default": "1250 ml", + "format": "text", + "description": "Description for 'volume_per_turn' Type: 'string' Path: '/properties/burn_data/items/properties/volume_per_turn'", + "options": { + "hidden": false + }, + "propertyOrder": 40 + } + } + }, + { + "type": "object", + "id": "/properties/burn_data/oneof1", + "title": "oneof 1 /properties/burn_data", + "options": { + "disable_collapse": false, + "disable_edit_json": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "defaultProperties": [ + "fuel", + "smoke", + "burn", + "volume_per_turn" + ], + "properties": { + "fuel": { + "type": "integer", + "id": "/properties/burn_data/items/properties/fuel", + "title": "Fuel", + "default": 2, + "description": "A description for 'fuel' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 10 + }, + "smoke": { + "type": "integer", + "id": "/properties/burn_data/items/properties/smoke", + "title": "Smoke", + "default": 1, + "description": "A description for 'smoke' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 20 + }, + "burn": { + "type": "integer", + "id": "/properties/burn_data/items/properties/burn", + "title": "Burn", + "default": 2, + "description": "A description for 'burn' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 30 + }, + "volume_per_turn": { + "type": "string", + "id": "/properties/burn_data/items/properties/volume_per_turn", + "title": "Volume Per Turn", + "default": "2500 ml", + "format": "text", + "description": "Description for 'volume_per_turn' Type: 'string' Path: '/properties/burn_data/items/properties/volume_per_turn'", + "options": { + "hidden": false + }, + "propertyOrder": 40 + } + } + }, + { + "type": "object", + "id": "/properties/burn_data/oneof2", + "title": "oneof 2 /properties/burn_data", + "options": { + "disable_collapse": false, + "disable_edit_json": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "defaultProperties": [ + "fuel", + "smoke", + "burn" + ], + "properties": { + "fuel": { + "type": "integer", + "id": "/properties/burn_data/items/properties/fuel", + "title": "Fuel", + "default": 2, + "description": "A description for 'fuel' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 10 + }, + "smoke": { + "type": "integer", + "id": "/properties/burn_data/items/properties/smoke", + "title": "Smoke", + "default": 1, + "description": "A description for 'smoke' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 20 + }, + "burn": { + "type": "integer", + "id": "/properties/burn_data/items/properties/burn", + "title": "Burn", + "default": 3, + "description": "A description for 'burn' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 30 + } + } + } + ] + }, + "propertyOrder": 200 } } } \ No newline at end of file diff --git a/data/json/schemas/mission_definition.json b/data/json/schemas/mission_definition.json index 97522e5..cc68b3d 100644 --- a/data/json/schemas/mission_definition.json +++ b/data/json/schemas/mission_definition.json @@ -29,6 +29,1793 @@ "name": { "$ref": "#/definitions/name", "propertyOrder": 12 + }, + "difficulty": { + "type": "integer", + "title": "Difficulty", + "default": 1, + "description": "The difficulty of the mission", + "propertyOrder": 10 + }, + "value": { + "type": "integer", + "title": "Value", + "default": 1, + "description": "The value of the mission", + "propertyOrder": 10 + }, + "count": { + "type": "integer", + "title": "Count", + "default": 1, + "description": "The number of items to retreive", + "propertyOrder": 10 + }, + "goal": { + "type": "string", + "title": "Goal", + "format": "selectize", + "enum": [ + "MGOAL_GO_TO", + "MGOAL_GO_TO_TYPE", + "MGOAL_COMPUTER_TOGGLE", + "MGOAL_FIND_ITEM", + "MGOAL_FIND_ANY_ITEM", + "MGOAL_FIND_MONSTER", + "MGOAL_FIND_NPC", + "MGOAL_TALK_TO_NPC", + "MGOAL_RECRUIT_NPC", + "MGOAL_RECRUIT_NPC_CLASS", + "MGOAL_ASSASSINATE", + "MGOAL_KILL_MONSTER", + "MGOAL_KILL_MONSTER_TYPE", + "MGOAL_KILL_MONSTER_SPEC", + "MGOAL_CONDITION" + ] + }, + "item": { + "type": "string", + "title": "Item", + "description": "The item that must be found when using MGOAL_FIND_ITEM", + "format": "selectize" + }, + + "start": { + "type": "object", + "id": "/properties/start", + "title": "Start", + "options": { + "disable_collapse": false, + "disable_edit_json": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "defaultProperties": [ + "effect", + "assign_mission_target" + ], + "properties": { + "effect": { + "type": "array", + "id": "/properties/start/properties/effect", + "title": "Effect", + "format": "tabs", + "options": { + "disable_collapse": false, + "disable_array_add": false, + "disable_array_delete": false, + "disable_array_reorder": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "items": { + "headerTemplate": "Effect {{i1}}", + "oneOf": [ + { + "type": "string", + "id": "/properties/start/properties/effect/oneof0", + "title": "oneof 0 /properties/start/properties/effect", + "default": "follow", + "format": "text", + "description": "Description for 'items' Type: 'string' Path: '/properties/start/properties/effect/items'", + "options": { + "hidden": false + } + }, + { + "type": "object", + "id": "/properties/start/properties/effect/oneof1", + "title": "oneof 1 /properties/start/properties/effect", + "options": { + "disable_collapse": false, + "disable_edit_json": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "defaultProperties": [ + "u_buy_item" + ], + "properties": { + "u_buy_item": { + "type": "string", + "id": "/properties/start/properties/effect/items/properties/u_buy_item", + "title": "U Buy Item", + "default": "sarcophagus_access_code", + "format": "text", + "description": "Description for 'u_buy_item' Type: 'string' Path: '/properties/start/properties/effect/items/properties/u_buy_item'", + "options": { + "hidden": false + }, + "propertyOrder": 10 + } + } + } + ] + }, + "propertyOrder": 10 + }, + "assign_mission_target": { + "type": "object", + "id": "/properties/start/properties/assign_mission_target", + "title": "Assign Mission Target", + "options": { + "disable_collapse": false, + "disable_edit_json": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "defaultProperties": [ + "om_terrain", + "om_special", + "reveal_radius" + ], + "properties": { + "om_terrain": { + "type": "string", + "id": "/properties/start/properties/assign_mission_target/properties/om_terrain", + "title": "Om Terrain", + "default": "haz_sar_1_1", + "format": "text", + "description": "Description for 'om_terrain' Type: 'string' Path: '/properties/start/properties/assign_mission_target/properties/om_terrain'", + "options": { + "hidden": false + }, + "propertyOrder": 10 + }, + "om_special": { + "type": "string", + "id": "/properties/start/properties/assign_mission_target/properties/om_special", + "title": "Om Special", + "default": "Hazardous Waste Sarcophagus", + "format": "text", + "description": "Description for 'om_special' Type: 'string' Path: '/properties/start/properties/assign_mission_target/properties/om_special'", + "options": { + "hidden": false + }, + "propertyOrder": 20 + }, + "reveal_radius": { + "type": "integer", + "id": "/properties/start/properties/assign_mission_target/properties/reveal_radius", + "title": "Reveal Radius", + "default": 3, + "description": "A description for 'reveal_radius' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 30 + } + }, + "propertyOrder": 20 + } + }, + "propertyOrder": 70 + }, + "origins": { + "type": "array", + "id": "/properties/origins", + "title": "Origins", + "format": "tabs", + "options": { + "disable_collapse": false, + "disable_array_add": false, + "disable_array_delete": false, + "disable_array_reorder": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "items": { + "type": "string", + "id": "/properties/origins/items", + "title": "Title Root Origins ", + "default": "ORIGIN_SECONDARY", + "format": "text", + "description": "Description for 'items' Type: 'string' Path: '/properties/origins/items'", + "options": { + "hidden": false + } + }, + "propertyOrder": 80 + }, + "destination": { + "type": "string", + "id": "/properties/destination", + "title": "Destination", + "default": "haz_sar_b_1", + "format": "text", + "description": "Description for 'destination' Type: 'string' Path: '/properties/destination'", + "options": { + "hidden": false + }, + "propertyOrder": 90 + }, + "dialogue": { + "type": "object", + "id": "/properties/dialogue", + "title": "Dialogue", + "options": { + "disable_collapse": false, + "disable_edit_json": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "defaultProperties": [ + "describe", + "offer", + "accepted", + "rejected", + "advice", + "inquire", + "success", + "success_lie", + "failure" + ], + "properties": { + "describe": { + "type": "string", + "id": "/properties/dialogue/properties/describe", + "title": "Describe", + "default": "You wouldn't believe what I found…", + "format": "text", + "description": "Description for 'describe' Type: 'string' Path: '/properties/dialogue/properties/describe'", + "options": { + "hidden": false + }, + "propertyOrder": 10 + }, + "offer": { + "type": "string", + "id": "/properties/dialogue/properties/offer", + "title": "Offer", + "default": "Holy hell, the crash you recovered the black box from wasn't as old as I thought. Check this out, it was on its approach to pick up a team sent to secure and destroy something called a 'Hazardous Waste Sarcophagus' in the middle of nowhere. If the bird never picked up the team then we may still have a chance to meet up with them. It includes an access code for the elevator and an encoded message for the team leader, I guess. If we want to join up with what remains of the government then now may be our only chance.", + "format": "text", + "description": "Description for 'offer' Type: 'string' Path: '/properties/dialogue/properties/offer'", + "options": { + "hidden": false + }, + "propertyOrder": 20 + }, + "accepted": { + "type": "string", + "id": "/properties/dialogue/properties/accepted", + "title": "Accepted", + "default": "Fuck ya, America!", + "format": "text", + "description": "Description for 'accepted' Type: 'string' Path: '/properties/dialogue/properties/accepted'", + "options": { + "hidden": false + }, + "propertyOrder": 30 + }, + "rejected": { + "type": "string", + "id": "/properties/dialogue/properties/rejected", + "title": "Rejected", + "default": "Are you going to forfeit your duty when the country needs you the most?", + "format": "text", + "description": "Description for 'rejected' Type: 'string' Path: '/properties/dialogue/properties/rejected'", + "options": { + "hidden": false + }, + "propertyOrder": 40 + }, + "advice": { + "type": "string", + "id": "/properties/dialogue/properties/advice", + "title": "Advice", + "default": "If there is a military team down there then we better go in prepared if we want to impress them. Carry as much ammo as you can and prepare to ditch this place if they have a second bird coming to pick them up.", + "format": "text", + "description": "Description for 'advice' Type: 'string' Path: '/properties/dialogue/properties/advice'", + "options": { + "hidden": false + }, + "propertyOrder": 50 + }, + "inquire": { + "type": "string", + "id": "/properties/dialogue/properties/inquire", + "title": "Inquire", + "default": "Having any trouble following the map?", + "format": "text", + "description": "Description for 'inquire' Type: 'string' Path: '/properties/dialogue/properties/inquire'", + "options": { + "hidden": false + }, + "propertyOrder": 60 + }, + "success": { + "type": "string", + "id": "/properties/dialogue/properties/success", + "title": "Success", + "default": "We got this shit!", + "format": "text", + "description": "Description for 'success' Type: 'string' Path: '/properties/dialogue/properties/success'", + "options": { + "hidden": false + }, + "propertyOrder": 70 + }, + "success_lie": { + "type": "string", + "id": "/properties/dialogue/properties/success_lie", + "title": "Success Lie", + "default": "What?! I out'ta whip your ass.", + "format": "text", + "description": "Description for 'success_lie' Type: 'string' Path: '/properties/dialogue/properties/success_lie'", + "options": { + "hidden": false + }, + "propertyOrder": 80 + }, + "failure": { + "type": "string", + "id": "/properties/dialogue/properties/failure", + "title": "Failure", + "default": "Damn, we were so close.", + "format": "text", + "description": "Description for 'failure' Type: 'string' Path: '/properties/dialogue/properties/failure'", + "options": { + "hidden": false + }, + "propertyOrder": 90 + } + }, + "propertyOrder": 100 + }, + "followup": { + "type": "string", + "id": "/properties/followup", + "title": "Followup", + "default": "MISSION_RANCH_FOREMAN_2", + "format": "text", + "description": "Description for 'followup' Type: 'string' Path: '/properties/followup'", + "options": { + "hidden": false + }, + "propertyOrder": 100 + }, + "start": { + "type": "object", + "id": "/properties/start", + "title": "Start", + "options": { + "disable_collapse": false, + "disable_edit_json": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "defaultProperties": [ + "effect", + "assign_mission_target" + ], + "properties": { + "effect": { + "type": "array", + "id": "/properties/start/properties/effect", + "title": "Effect", + "format": "tabs", + "options": { + "disable_collapse": false, + "disable_array_add": false, + "disable_array_delete": false, + "disable_array_reorder": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "items": { + "headerTemplate": "Effect {{i1}}", + "oneOf": [ + { + "type": "string", + "id": "/properties/start/properties/effect/oneof0", + "title": "oneof 0 /properties/start/properties/effect", + "default": "follow", + "format": "text", + "description": "Description for 'items' Type: 'string' Path: '/properties/start/properties/effect/items'", + "options": { + "hidden": false + } + }, + { + "type": "object", + "id": "/properties/start/properties/effect/oneof1", + "title": "oneof 1 /properties/start/properties/effect", + "options": { + "disable_collapse": false, + "disable_edit_json": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "defaultProperties": [ + "u_buy_item" + ], + "properties": { + "u_buy_item": { + "type": "string", + "id": "/properties/start/properties/effect/items/properties/u_buy_item", + "title": "U Buy Item", + "default": "sarcophagus_access_code", + "format": "text", + "description": "Description for 'u_buy_item' Type: 'string' Path: '/properties/start/properties/effect/items/properties/u_buy_item'", + "options": { + "hidden": false + }, + "propertyOrder": 10 + } + } + } + ] + }, + "propertyOrder": 10 + }, + "assign_mission_target": { + "type": "object", + "id": "/properties/start/properties/assign_mission_target", + "title": "Assign Mission Target", + "options": { + "disable_collapse": false, + "disable_edit_json": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "defaultProperties": [ + "om_terrain", + "om_special", + "reveal_radius" + ], + "properties": { + "om_terrain": { + "type": "string", + "id": "/properties/start/properties/assign_mission_target/properties/om_terrain", + "title": "Om Terrain", + "default": "haz_sar_1_1", + "format": "text", + "description": "Description for 'om_terrain' Type: 'string' Path: '/properties/start/properties/assign_mission_target/properties/om_terrain'", + "options": { + "hidden": false + }, + "propertyOrder": 10 + }, + "om_special": { + "type": "string", + "id": "/properties/start/properties/assign_mission_target/properties/om_special", + "title": "Om Special", + "default": "Hazardous Waste Sarcophagus", + "format": "text", + "description": "Description for 'om_special' Type: 'string' Path: '/properties/start/properties/assign_mission_target/properties/om_special'", + "options": { + "hidden": false + }, + "propertyOrder": 20 + }, + "reveal_radius": { + "type": "integer", + "id": "/properties/start/properties/assign_mission_target/properties/reveal_radius", + "title": "Reveal Radius", + "default": 3, + "description": "A description for 'reveal_radius' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 30 + } + }, + "propertyOrder": 20 + } + }, + "propertyOrder": 70 + }, + "origins": { + "type": "array", + "id": "/properties/origins", + "title": "Origins", + "format": "tabs", + "options": { + "disable_collapse": false, + "disable_array_add": false, + "disable_array_delete": false, + "disable_array_reorder": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "items": { + "type": "string", + "id": "/properties/origins/items", + "title": "Title Root Origins ", + "default": "ORIGIN_SECONDARY", + "format": "text", + "description": "Description for 'items' Type: 'string' Path: '/properties/origins/items'", + "options": { + "hidden": false + } + }, + "propertyOrder": 80 + }, + "destination": { + "type": "string", + "id": "/properties/destination", + "title": "Destination", + "default": "haz_sar_b_1", + "format": "text", + "description": "Description for 'destination' Type: 'string' Path: '/properties/destination'", + "options": { + "hidden": false + }, + "propertyOrder": 90 + }, + "dialogue": { + "type": "object", + "id": "/properties/dialogue", + "title": "Dialogue", + "options": { + "disable_collapse": false, + "disable_edit_json": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "defaultProperties": [ + "describe", + "offer", + "accepted", + "rejected", + "advice", + "inquire", + "success", + "success_lie", + "failure" + ], + "properties": { + "describe": { + "type": "string", + "id": "/properties/dialogue/properties/describe", + "title": "Describe", + "default": "You wouldn't believe what I found…", + "format": "text", + "description": "Description for 'describe' Type: 'string' Path: '/properties/dialogue/properties/describe'", + "options": { + "hidden": false + }, + "propertyOrder": 10 + }, + "offer": { + "type": "string", + "id": "/properties/dialogue/properties/offer", + "title": "Offer", + "default": "Holy hell, the crash you recovered the black box from wasn't as old as I thought. Check this out, it was on its approach to pick up a team sent to secure and destroy something called a 'Hazardous Waste Sarcophagus' in the middle of nowhere. If the bird never picked up the team then we may still have a chance to meet up with them. It includes an access code for the elevator and an encoded message for the team leader, I guess. If we want to join up with what remains of the government then now may be our only chance.", + "format": "text", + "description": "Description for 'offer' Type: 'string' Path: '/properties/dialogue/properties/offer'", + "options": { + "hidden": false + }, + "propertyOrder": 20 + }, + "accepted": { + "type": "string", + "id": "/properties/dialogue/properties/accepted", + "title": "Accepted", + "default": "Fuck ya, America!", + "format": "text", + "description": "Description for 'accepted' Type: 'string' Path: '/properties/dialogue/properties/accepted'", + "options": { + "hidden": false + }, + "propertyOrder": 30 + }, + "rejected": { + "type": "string", + "id": "/properties/dialogue/properties/rejected", + "title": "Rejected", + "default": "Are you going to forfeit your duty when the country needs you the most?", + "format": "text", + "description": "Description for 'rejected' Type: 'string' Path: '/properties/dialogue/properties/rejected'", + "options": { + "hidden": false + }, + "propertyOrder": 40 + }, + "advice": { + "type": "string", + "id": "/properties/dialogue/properties/advice", + "title": "Advice", + "default": "If there is a military team down there then we better go in prepared if we want to impress them. Carry as much ammo as you can and prepare to ditch this place if they have a second bird coming to pick them up.", + "format": "text", + "description": "Description for 'advice' Type: 'string' Path: '/properties/dialogue/properties/advice'", + "options": { + "hidden": false + }, + "propertyOrder": 50 + }, + "inquire": { + "type": "string", + "id": "/properties/dialogue/properties/inquire", + "title": "Inquire", + "default": "Having any trouble following the map?", + "format": "text", + "description": "Description for 'inquire' Type: 'string' Path: '/properties/dialogue/properties/inquire'", + "options": { + "hidden": false + }, + "propertyOrder": 60 + }, + "success": { + "type": "string", + "id": "/properties/dialogue/properties/success", + "title": "Success", + "default": "We got this shit!", + "format": "text", + "description": "Description for 'success' Type: 'string' Path: '/properties/dialogue/properties/success'", + "options": { + "hidden": false + }, + "propertyOrder": 70 + }, + "success_lie": { + "type": "string", + "id": "/properties/dialogue/properties/success_lie", + "title": "Success Lie", + "default": "What?! I out'ta whip your ass.", + "format": "text", + "description": "Description for 'success_lie' Type: 'string' Path: '/properties/dialogue/properties/success_lie'", + "options": { + "hidden": false + }, + "propertyOrder": 80 + }, + "failure": { + "type": "string", + "id": "/properties/dialogue/properties/failure", + "title": "Failure", + "default": "Damn, we were so close.", + "format": "text", + "description": "Description for 'failure' Type: 'string' Path: '/properties/dialogue/properties/failure'", + "options": { + "hidden": false + }, + "propertyOrder": 90 + } + }, + "propertyOrder": 100 + }, + "end": { + "type": "object", + "id": "/properties/end", + "title": "End", + "options": { + "disable_collapse": false, + "disable_edit_json": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "defaultProperties": [ + "update_mapgen" + ], + "properties": { + "update_mapgen": { + "type": "array", + "id": "/properties/end/properties/update_mapgen", + "title": "Update Mapgen", + "format": "tabs", + "options": { + "disable_collapse": false, + "disable_array_add": false, + "disable_array_delete": false, + "disable_array_reorder": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "items": { + "headerTemplate": "Update Mapgen {{i1}}", + "oneOf": [ + { + "type": "object", + "id": "/properties/end/properties/update_mapgen/oneof0", + "title": "oneof 0 /properties/end/properties/update_mapgen", + "options": { + "disable_collapse": false, + "disable_edit_json": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "defaultProperties": [ + "om_terrain", + "translate_ter", + "place_nested" + ], + "properties": { + "om_terrain": { + "type": "string", + "id": "/properties/end/properties/update_mapgen/items/properties/om_terrain", + "title": "Om Terrain", + "default": "ranch_camp_65", + "format": "text", + "description": "Description for 'om_terrain' Type: 'string' Path: '/properties/end/properties/update_mapgen/items/properties/om_terrain'", + "options": { + "hidden": false + }, + "propertyOrder": 10 + }, + "translate_ter": { + "type": "array", + "id": "/properties/end/properties/update_mapgen/items/properties/translate_ter", + "title": "Translate Ter", + "format": "tabs", + "options": { + "disable_collapse": false, + "disable_array_add": false, + "disable_array_delete": false, + "disable_array_reorder": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "items": { + "type": "object", + "id": "/properties/end/properties/update_mapgen/items/properties/translate_ter/items", + "title": "Title Root End Update Mapgen Translate Ter ", + "options": { + "disable_collapse": false, + "disable_edit_json": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "defaultProperties": [ + "from", + "to", + "x", + "y" + ], + "properties": { + "from": { + "type": "string", + "id": "/properties/end/properties/update_mapgen/items/properties/translate_ter/items/properties/from", + "title": "From", + "default": "t_underbrush", + "format": "text", + "description": "Description for 'from' Type: 'string' Path: '/properties/end/properties/update_mapgen/items/properties/translate_ter/items/properties/from'", + "options": { + "hidden": false + }, + "propertyOrder": 10 + }, + "to": { + "type": "string", + "id": "/properties/end/properties/update_mapgen/items/properties/translate_ter/items/properties/to", + "title": "To", + "default": "t_dirt", + "format": "text", + "description": "Description for 'to' Type: 'string' Path: '/properties/end/properties/update_mapgen/items/properties/translate_ter/items/properties/to'", + "options": { + "hidden": false + }, + "propertyOrder": 20 + }, + "x": { + "type": "integer", + "id": "/properties/end/properties/update_mapgen/items/properties/translate_ter/items/properties/x", + "title": "X", + "default": 0, + "description": "A description for 'x' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 30 + }, + "y": { + "type": "integer", + "id": "/properties/end/properties/update_mapgen/items/properties/translate_ter/items/properties/y", + "title": "Y", + "default": 0, + "description": "A description for 'y' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 40 + } + } + }, + "propertyOrder": 20 + }, + "place_nested": { + "type": "array", + "id": "/properties/end/properties/update_mapgen/items/properties/place_nested", + "title": "Place Nested", + "format": "tabs", + "options": { + "disable_collapse": false, + "disable_array_add": false, + "disable_array_delete": false, + "disable_array_reorder": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "items": { + "type": "object", + "id": "/properties/end/properties/update_mapgen/items/properties/place_nested/items", + "title": "Title Root End Update Mapgen Place Nested ", + "options": { + "disable_collapse": false, + "disable_edit_json": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "defaultProperties": [ + "chunks", + "x", + "y" + ], + "properties": { + "chunks": { + "type": "array", + "id": "/properties/end/properties/update_mapgen/items/properties/place_nested/items/properties/chunks", + "title": "Chunks", + "format": "tabs", + "options": { + "disable_collapse": false, + "disable_array_add": false, + "disable_array_delete": false, + "disable_array_reorder": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "items": { + "type": "string", + "id": "/properties/end/properties/update_mapgen/items/properties/place_nested/items/properties/chunks/items", + "title": "Title Root End Update Mapgen Place Nested Chunks ", + "default": "tacoma_commune_west_wall_door", + "format": "text", + "description": "Description for 'items' Type: 'string' Path: '/properties/end/properties/update_mapgen/items/properties/place_nested/items/properties/chunks/items'", + "options": { + "hidden": false + } + }, + "propertyOrder": 10 + }, + "x": { + "type": "integer", + "id": "/properties/end/properties/update_mapgen/items/properties/place_nested/items/properties/x", + "title": "X", + "default": 22, + "description": "A description for 'x' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 20 + }, + "y": { + "type": "integer", + "id": "/properties/end/properties/update_mapgen/items/properties/place_nested/items/properties/y", + "title": "Y", + "default": 0, + "description": "A description for 'y' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 30 + } + } + }, + "propertyOrder": 30 + } + } + }, + { + "type": "object", + "id": "/properties/end/properties/update_mapgen/oneof1", + "title": "oneof 1 /properties/end/properties/update_mapgen", + "options": { + "disable_collapse": false, + "disable_edit_json": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "defaultProperties": [ + "om_terrain", + "translate_ter", + "place_nested" + ], + "properties": { + "om_terrain": { + "type": "string", + "id": "/properties/end/properties/update_mapgen/items/properties/om_terrain", + "title": "Om Terrain", + "default": "ranch_camp_66", + "format": "text", + "description": "Description for 'om_terrain' Type: 'string' Path: '/properties/end/properties/update_mapgen/items/properties/om_terrain'", + "options": { + "hidden": false + }, + "propertyOrder": 10 + }, + "translate_ter": { + "type": "array", + "id": "/properties/end/properties/update_mapgen/items/properties/translate_ter", + "title": "Translate Ter", + "format": "tabs", + "options": { + "disable_collapse": false, + "disable_array_add": false, + "disable_array_delete": false, + "disable_array_reorder": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "items": { + "type": "object", + "id": "/properties/end/properties/update_mapgen/items/properties/translate_ter/items", + "title": "Title Root End Update Mapgen Translate Ter ", + "options": { + "disable_collapse": false, + "disable_edit_json": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "defaultProperties": [ + "from", + "to", + "x", + "y" + ], + "properties": { + "from": { + "type": "string", + "id": "/properties/end/properties/update_mapgen/items/properties/translate_ter/items/properties/from", + "title": "From", + "default": "t_underbrush", + "format": "text", + "description": "Description for 'from' Type: 'string' Path: '/properties/end/properties/update_mapgen/items/properties/translate_ter/items/properties/from'", + "options": { + "hidden": false + }, + "propertyOrder": 10 + }, + "to": { + "type": "string", + "id": "/properties/end/properties/update_mapgen/items/properties/translate_ter/items/properties/to", + "title": "To", + "default": "t_dirt", + "format": "text", + "description": "Description for 'to' Type: 'string' Path: '/properties/end/properties/update_mapgen/items/properties/translate_ter/items/properties/to'", + "options": { + "hidden": false + }, + "propertyOrder": 20 + }, + "x": { + "type": "integer", + "id": "/properties/end/properties/update_mapgen/items/properties/translate_ter/items/properties/x", + "title": "X", + "default": 0, + "description": "A description for 'x' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 30 + }, + "y": { + "type": "integer", + "id": "/properties/end/properties/update_mapgen/items/properties/translate_ter/items/properties/y", + "title": "Y", + "default": 0, + "description": "A description for 'y' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 40 + } + } + }, + "propertyOrder": 20 + }, + "place_nested": { + "type": "array", + "id": "/properties/end/properties/update_mapgen/items/properties/place_nested", + "title": "Place Nested", + "format": "tabs", + "options": { + "disable_collapse": false, + "disable_array_add": false, + "disable_array_delete": false, + "disable_array_reorder": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "items": { + "headerTemplate": "Place Nested {{i1}}", + "oneOf": [ + { + "type": "object", + "id": "/properties/end/properties/update_mapgen/items/properties/place_nested/oneof0", + "title": "oneof 0 /properties/end/properties/update_mapgen/items/properties/place_nested", + "options": { + "disable_collapse": false, + "disable_edit_json": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "defaultProperties": [ + "chunks", + "x", + "y" + ], + "properties": { + "chunks": { + "type": "array", + "id": "/properties/end/properties/update_mapgen/items/properties/place_nested/items/properties/chunks", + "title": "Chunks", + "format": "tabs", + "options": { + "disable_collapse": false, + "disable_array_add": false, + "disable_array_delete": false, + "disable_array_reorder": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "items": { + "type": "string", + "id": "/properties/end/properties/update_mapgen/items/properties/place_nested/items/properties/chunks/items", + "title": "Title Root End Update Mapgen Place Nested Chunks ", + "default": "tacoma_commune_east_wall_door", + "format": "text", + "description": "Description for 'items' Type: 'string' Path: '/properties/end/properties/update_mapgen/items/properties/place_nested/items/properties/chunks/items'", + "options": { + "hidden": false + } + }, + "propertyOrder": 10 + }, + "x": { + "type": "integer", + "id": "/properties/end/properties/update_mapgen/items/properties/place_nested/items/properties/x", + "title": "X", + "default": 0, + "description": "A description for 'x' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 20 + }, + "y": { + "type": "integer", + "id": "/properties/end/properties/update_mapgen/items/properties/place_nested/items/properties/y", + "title": "Y", + "default": 0, + "description": "A description for 'y' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 30 + } + } + }, + { + "type": "object", + "id": "/properties/end/properties/update_mapgen/items/properties/place_nested/oneof1", + "title": "oneof 1 /properties/end/properties/update_mapgen/items/properties/place_nested", + "options": { + "disable_collapse": false, + "disable_edit_json": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "defaultProperties": [ + "chunks", + "x", + "y" + ], + "properties": { + "chunks": { + "type": "array", + "id": "/properties/end/properties/update_mapgen/items/properties/place_nested/items/properties/chunks", + "title": "Chunks", + "format": "tabs", + "options": { + "disable_collapse": false, + "disable_array_add": false, + "disable_array_delete": false, + "disable_array_reorder": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "items": { + "type": "string", + "id": "/properties/end/properties/update_mapgen/items/properties/place_nested/items/properties/chunks/items", + "title": "Title Root End Update Mapgen Place Nested Chunks ", + "default": "tacoma_commune_west_wall_door", + "format": "text", + "description": "Description for 'items' Type: 'string' Path: '/properties/end/properties/update_mapgen/items/properties/place_nested/items/properties/chunks/items'", + "options": { + "hidden": false + } + }, + "propertyOrder": 10 + }, + "x": { + "type": "integer", + "id": "/properties/end/properties/update_mapgen/items/properties/place_nested/items/properties/x", + "title": "X", + "default": 13, + "description": "A description for 'x' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 20 + }, + "y": { + "type": "integer", + "id": "/properties/end/properties/update_mapgen/items/properties/place_nested/items/properties/y", + "title": "Y", + "default": 0, + "description": "A description for 'y' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 30 + } + } + }, + { + "type": "object", + "id": "/properties/end/properties/update_mapgen/items/properties/place_nested/oneof2", + "title": "oneof 2 /properties/end/properties/update_mapgen/items/properties/place_nested", + "options": { + "disable_collapse": false, + "disable_edit_json": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "defaultProperties": [ + "chunks", + "x", + "y" + ], + "properties": { + "chunks": { + "type": "array", + "id": "/properties/end/properties/update_mapgen/items/properties/place_nested/items/properties/chunks", + "title": "Chunks", + "format": "tabs", + "options": { + "disable_collapse": false, + "disable_array_add": false, + "disable_array_delete": false, + "disable_array_reorder": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "items": { + "type": "string", + "id": "/properties/end/properties/update_mapgen/items/properties/place_nested/items/properties/chunks/items", + "title": "Title Root End Update Mapgen Place Nested Chunks ", + "default": "tacoma_commune_east_wall_door", + "format": "text", + "description": "Description for 'items' Type: 'string' Path: '/properties/end/properties/update_mapgen/items/properties/place_nested/items/properties/chunks/items'", + "options": { + "hidden": false + } + }, + "propertyOrder": 10 + }, + "x": { + "type": "integer", + "id": "/properties/end/properties/update_mapgen/items/properties/place_nested/items/properties/x", + "title": "X", + "default": 15, + "description": "A description for 'x' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 20 + }, + "y": { + "type": "integer", + "id": "/properties/end/properties/update_mapgen/items/properties/place_nested/items/properties/y", + "title": "Y", + "default": 0, + "description": "A description for 'y' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 30 + } + } + } + ] + }, + "propertyOrder": 30 + } + } + }, + { + "type": "object", + "id": "/properties/end/properties/update_mapgen/oneof2", + "title": "oneof 2 /properties/end/properties/update_mapgen", + "options": { + "disable_collapse": false, + "disable_edit_json": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "defaultProperties": [ + "om_terrain", + "translate_ter", + "place_nested" + ], + "properties": { + "om_terrain": { + "type": "string", + "id": "/properties/end/properties/update_mapgen/items/properties/om_terrain", + "title": "Om Terrain", + "default": "ranch_camp_74", + "format": "text", + "description": "Description for 'om_terrain' Type: 'string' Path: '/properties/end/properties/update_mapgen/items/properties/om_terrain'", + "options": { + "hidden": false + }, + "propertyOrder": 10 + }, + "translate_ter": { + "type": "array", + "id": "/properties/end/properties/update_mapgen/items/properties/translate_ter", + "title": "Translate Ter", + "format": "tabs", + "options": { + "disable_collapse": false, + "disable_array_add": false, + "disable_array_delete": false, + "disable_array_reorder": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "items": { + "type": "object", + "id": "/properties/end/properties/update_mapgen/items/properties/translate_ter/items", + "title": "Title Root End Update Mapgen Translate Ter ", + "options": { + "disable_collapse": false, + "disable_edit_json": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "defaultProperties": [ + "from", + "to", + "x", + "y" + ], + "properties": { + "from": { + "type": "string", + "id": "/properties/end/properties/update_mapgen/items/properties/translate_ter/items/properties/from", + "title": "From", + "default": "t_underbrush", + "format": "text", + "description": "Description for 'from' Type: 'string' Path: '/properties/end/properties/update_mapgen/items/properties/translate_ter/items/properties/from'", + "options": { + "hidden": false + }, + "propertyOrder": 10 + }, + "to": { + "type": "string", + "id": "/properties/end/properties/update_mapgen/items/properties/translate_ter/items/properties/to", + "title": "To", + "default": "t_dirt", + "format": "text", + "description": "Description for 'to' Type: 'string' Path: '/properties/end/properties/update_mapgen/items/properties/translate_ter/items/properties/to'", + "options": { + "hidden": false + }, + "propertyOrder": 20 + }, + "x": { + "type": "integer", + "id": "/properties/end/properties/update_mapgen/items/properties/translate_ter/items/properties/x", + "title": "X", + "default": 0, + "description": "A description for 'x' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 30 + }, + "y": { + "type": "integer", + "id": "/properties/end/properties/update_mapgen/items/properties/translate_ter/items/properties/y", + "title": "Y", + "default": 0, + "description": "A description for 'y' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 40 + } + } + }, + "propertyOrder": 20 + }, + "place_nested": { + "type": "array", + "id": "/properties/end/properties/update_mapgen/items/properties/place_nested", + "title": "Place Nested", + "format": "tabs", + "options": { + "disable_collapse": false, + "disable_array_add": false, + "disable_array_delete": false, + "disable_array_reorder": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "items": { + "type": "object", + "id": "/properties/end/properties/update_mapgen/items/properties/place_nested/items", + "title": "Title Root End Update Mapgen Place Nested ", + "options": { + "disable_collapse": false, + "disable_edit_json": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "defaultProperties": [ + "chunks", + "x", + "y" + ], + "properties": { + "chunks": { + "type": "array", + "id": "/properties/end/properties/update_mapgen/items/properties/place_nested/items/properties/chunks", + "title": "Chunks", + "format": "tabs", + "options": { + "disable_collapse": false, + "disable_array_add": false, + "disable_array_delete": false, + "disable_array_reorder": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "items": { + "type": "string", + "id": "/properties/end/properties/update_mapgen/items/properties/place_nested/items/properties/chunks/items", + "title": "Title Root End Update Mapgen Place Nested Chunks ", + "default": "tacoma_commune_west_wall_door", + "format": "text", + "description": "Description for 'items' Type: 'string' Path: '/properties/end/properties/update_mapgen/items/properties/place_nested/items/properties/chunks/items'", + "options": { + "hidden": false + } + }, + "propertyOrder": 10 + }, + "x": { + "type": "integer", + "id": "/properties/end/properties/update_mapgen/items/properties/place_nested/items/properties/x", + "title": "X", + "default": 22, + "description": "A description for 'x' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 20 + }, + "y": { + "type": "integer", + "id": "/properties/end/properties/update_mapgen/items/properties/place_nested/items/properties/y", + "title": "Y", + "default": 0, + "description": "A description for 'y' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 30 + } + } + }, + "propertyOrder": 30 + } + } + }, + { + "type": "object", + "id": "/properties/end/properties/update_mapgen/oneof3", + "title": "oneof 3 /properties/end/properties/update_mapgen", + "options": { + "disable_collapse": false, + "disable_edit_json": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "defaultProperties": [ + "om_terrain", + "translate_ter", + "place_nested" + ], + "properties": { + "om_terrain": { + "type": "string", + "id": "/properties/end/properties/update_mapgen/items/properties/om_terrain", + "title": "Om Terrain", + "default": "ranch_camp_66", + "format": "text", + "description": "Description for 'om_terrain' Type: 'string' Path: '/properties/end/properties/update_mapgen/items/properties/om_terrain'", + "options": { + "hidden": false + }, + "propertyOrder": 10 + }, + "translate_ter": { + "type": "array", + "id": "/properties/end/properties/update_mapgen/items/properties/translate_ter", + "title": "Translate Ter", + "format": "tabs", + "options": { + "disable_collapse": false, + "disable_array_add": false, + "disable_array_delete": false, + "disable_array_reorder": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "items": { + "type": "object", + "id": "/properties/end/properties/update_mapgen/items/properties/translate_ter/items", + "title": "Title Root End Update Mapgen Translate Ter ", + "options": { + "disable_collapse": false, + "disable_edit_json": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "defaultProperties": [ + "from", + "to", + "x", + "y" + ], + "properties": { + "from": { + "type": "string", + "id": "/properties/end/properties/update_mapgen/items/properties/translate_ter/items/properties/from", + "title": "From", + "default": "t_underbrush", + "format": "text", + "description": "Description for 'from' Type: 'string' Path: '/properties/end/properties/update_mapgen/items/properties/translate_ter/items/properties/from'", + "options": { + "hidden": false + }, + "propertyOrder": 10 + }, + "to": { + "type": "string", + "id": "/properties/end/properties/update_mapgen/items/properties/translate_ter/items/properties/to", + "title": "To", + "default": "t_dirt", + "format": "text", + "description": "Description for 'to' Type: 'string' Path: '/properties/end/properties/update_mapgen/items/properties/translate_ter/items/properties/to'", + "options": { + "hidden": false + }, + "propertyOrder": 20 + }, + "x": { + "type": "integer", + "id": "/properties/end/properties/update_mapgen/items/properties/translate_ter/items/properties/x", + "title": "X", + "default": 0, + "description": "A description for 'x' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 30 + }, + "y": { + "type": "integer", + "id": "/properties/end/properties/update_mapgen/items/properties/translate_ter/items/properties/y", + "title": "Y", + "default": 0, + "description": "A description for 'y' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 40 + } + } + }, + "propertyOrder": 20 + }, + "place_nested": { + "type": "array", + "id": "/properties/end/properties/update_mapgen/items/properties/place_nested", + "title": "Place Nested", + "format": "tabs", + "options": { + "disable_collapse": false, + "disable_array_add": false, + "disable_array_delete": false, + "disable_array_reorder": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "items": { + "headerTemplate": "Place Nested {{i1}}", + "oneOf": [ + { + "type": "object", + "id": "/properties/end/properties/update_mapgen/items/properties/place_nested/oneof0", + "title": "oneof 0 /properties/end/properties/update_mapgen/items/properties/place_nested", + "options": { + "disable_collapse": false, + "disable_edit_json": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "defaultProperties": [ + "chunks", + "x", + "y" + ], + "properties": { + "chunks": { + "type": "array", + "id": "/properties/end/properties/update_mapgen/items/properties/place_nested/items/properties/chunks", + "title": "Chunks", + "format": "tabs", + "options": { + "disable_collapse": false, + "disable_array_add": false, + "disable_array_delete": false, + "disable_array_reorder": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "items": { + "type": "string", + "id": "/properties/end/properties/update_mapgen/items/properties/place_nested/items/properties/chunks/items", + "title": "Title Root End Update Mapgen Place Nested Chunks ", + "default": "tacoma_commune_east_wall_door", + "format": "text", + "description": "Description for 'items' Type: 'string' Path: '/properties/end/properties/update_mapgen/items/properties/place_nested/items/properties/chunks/items'", + "options": { + "hidden": false + } + }, + "propertyOrder": 10 + }, + "x": { + "type": "integer", + "id": "/properties/end/properties/update_mapgen/items/properties/place_nested/items/properties/x", + "title": "X", + "default": 0, + "description": "A description for 'x' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 20 + }, + "y": { + "type": "integer", + "id": "/properties/end/properties/update_mapgen/items/properties/place_nested/items/properties/y", + "title": "Y", + "default": 0, + "description": "A description for 'y' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 30 + } + } + }, + { + "type": "object", + "id": "/properties/end/properties/update_mapgen/items/properties/place_nested/oneof1", + "title": "oneof 1 /properties/end/properties/update_mapgen/items/properties/place_nested", + "options": { + "disable_collapse": false, + "disable_edit_json": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "defaultProperties": [ + "chunks", + "x", + "y" + ], + "properties": { + "chunks": { + "type": "array", + "id": "/properties/end/properties/update_mapgen/items/properties/place_nested/items/properties/chunks", + "title": "Chunks", + "format": "tabs", + "options": { + "disable_collapse": false, + "disable_array_add": false, + "disable_array_delete": false, + "disable_array_reorder": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "items": { + "type": "string", + "id": "/properties/end/properties/update_mapgen/items/properties/place_nested/items/properties/chunks/items", + "title": "Title Root End Update Mapgen Place Nested Chunks ", + "default": "tacoma_commune_west_wall_door", + "format": "text", + "description": "Description for 'items' Type: 'string' Path: '/properties/end/properties/update_mapgen/items/properties/place_nested/items/properties/chunks/items'", + "options": { + "hidden": false + } + }, + "propertyOrder": 10 + }, + "x": { + "type": "integer", + "id": "/properties/end/properties/update_mapgen/items/properties/place_nested/items/properties/x", + "title": "X", + "default": 13, + "description": "A description for 'x' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 20 + }, + "y": { + "type": "integer", + "id": "/properties/end/properties/update_mapgen/items/properties/place_nested/items/properties/y", + "title": "Y", + "default": 0, + "description": "A description for 'y' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 30 + } + } + }, + { + "type": "object", + "id": "/properties/end/properties/update_mapgen/items/properties/place_nested/oneof2", + "title": "oneof 2 /properties/end/properties/update_mapgen/items/properties/place_nested", + "options": { + "disable_collapse": false, + "disable_edit_json": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "defaultProperties": [ + "chunks", + "x", + "y" + ], + "properties": { + "chunks": { + "type": "array", + "id": "/properties/end/properties/update_mapgen/items/properties/place_nested/items/properties/chunks", + "title": "Chunks", + "format": "tabs", + "options": { + "disable_collapse": false, + "disable_array_add": false, + "disable_array_delete": false, + "disable_array_reorder": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "items": { + "type": "string", + "id": "/properties/end/properties/update_mapgen/items/properties/place_nested/items/properties/chunks/items", + "title": "Title Root End Update Mapgen Place Nested Chunks ", + "default": "tacoma_commune_east_wall_door", + "format": "text", + "description": "Description for 'items' Type: 'string' Path: '/properties/end/properties/update_mapgen/items/properties/place_nested/items/properties/chunks/items'", + "options": { + "hidden": false + } + }, + "propertyOrder": 10 + }, + "x": { + "type": "integer", + "id": "/properties/end/properties/update_mapgen/items/properties/place_nested/items/properties/x", + "title": "X", + "default": 15, + "description": "A description for 'x' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 20 + }, + "y": { + "type": "integer", + "id": "/properties/end/properties/update_mapgen/items/properties/place_nested/items/properties/y", + "title": "Y", + "default": 0, + "description": "A description for 'y' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 30 + } + } + } + ] + }, + "propertyOrder": 30 + } + } + } + ] + }, + "propertyOrder": 10 + } + }, + "propertyOrder": 120 } } } \ No newline at end of file diff --git a/data/json/schemas/terrain.json b/data/json/schemas/terrain.json index 6a2e2fe..72aa079 100644 --- a/data/json/schemas/terrain.json +++ b/data/json/schemas/terrain.json @@ -4,6 +4,9 @@ "title": "Terrain", "type": "object", "id": "https://niebert.github.io/json-editor", + "stringifyOptions": { + "maxLength": 116 + }, "options": { "disable_collapse": false, "disable_edit_json": false, @@ -29,6 +32,614 @@ "name": { "$ref": "#/definitions/name", "propertyOrder": 12 + }, + "looks_like": { + "type": "string", + "format": "selectize", + "filteredEnum": { + "display_key": "id", + "filter": { "jsonObject.type": { "$eq": "terrain" } } + } + }, + "transforms_into": { + "type": "string", + "title": "Transforms Into", + "default": "t_tree_apple_harvested", + "format": "text", + "description": "Description for 'transforms_into' Type: 'string' Path: '/properties/transforms_into'", + "propertyOrder": 120 + }, + "examine_action": { + "type": "string", + "title": "Examine Action", + "default": "harvest_ter_nectar", + "format": "text", + "description": "Description for 'examine_action' Type: 'string' Path: '/properties/examine_action'", + "propertyOrder": 130 + }, + "description": { + "type": "string", + "id": "/properties/description", + "title": "Description", + "default": "This is a standalone computer terminal. It doesn't seem to be working. It's the broken screen and shattered circuit boards that's telling you that.", + "format": "text", + "description": "Description for 'description' Type: 'string' Path: '/properties/description'", + "options": { + "hidden": false + }, + "propertyOrder": 40 + }, + "harvest_by_season": { + "type": "array", + "id": "/properties/harvest_by_season", + "title": "Harvest By Season", + "format": "tabs", + "stringifyOptions": { + "maxLength": 140 + }, + "options": { + "disable_collapse": false, + "disable_array_add": false, + "disable_array_delete": false, + "disable_array_reorder": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "items": { + "type": "object", + "id": "/properties/harvest_by_season/items", + "title": "Title Root Harvest By Season ", + "options": { + "disable_collapse": false, + "disable_edit_json": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "defaultProperties": [ + "seasons", + "entries" + ], + "properties": { + "seasons": { + "type": "array", + "id": "/properties/harvest_by_season/items/properties/seasons", + "title": "Seasons", + "format": "tabs", + "options": { + "disable_collapse": false, + "disable_array_add": false, + "disable_array_delete": false, + "disable_array_reorder": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "items": { + "type": "string", + "id": "/properties/harvest_by_season/items/properties/seasons/items", + "title": "Title Root Harvest By Season Seasons ", + "default": "autumn", + "format": "text", + "description": "Description for 'items' Type: 'string' Path: '/properties/harvest_by_season/items/properties/seasons/items'", + "options": { + "hidden": false + } + }, + "propertyOrder": 10 + }, + "entries": { + "type": "array", + "id": "/properties/harvest_by_season/items/properties/entries", + "title": "Entries", + "format": "tabs", + "options": { + "disable_collapse": false, + "disable_array_add": false, + "disable_array_delete": false, + "disable_array_reorder": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "items": { + "type": "object", + "id": "/properties/harvest_by_season/items/properties/entries/items", + "title": "Title Root Harvest By Season Entries ", + "options": { + "disable_collapse": false, + "disable_edit_json": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "defaultProperties": [ + "drop", + "base_num", + "scale_num" + ], + "properties": { + "drop": { + "type": "string", + "id": "/properties/harvest_by_season/items/properties/entries/items/properties/drop", + "title": "Drop", + "default": "apple", + "format": "text", + "description": "Description for 'drop' Type: 'string' Path: '/properties/harvest_by_season/items/properties/entries/items/properties/drop'", + "options": { + "hidden": false + }, + "propertyOrder": 10 + }, + "base_num": { + "type": "array", + "id": "/properties/harvest_by_season/items/properties/entries/items/properties/base_num", + "title": "Base Num", + "format": "tabs", + "options": { + "disable_collapse": false, + "disable_array_add": false, + "disable_array_delete": false, + "disable_array_reorder": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "items": { + "headerTemplate": "Base Num {{i1}}", + "oneOf": [ + { + "type": "integer", + "id": "/properties/harvest_by_season/items/properties/entries/items/properties/base_num/oneof0", + "title": "oneof 0 /properties/harvest_by_season/items/properties/entries/items/properties/base_num", + "default": 2, + "description": "A description for 'items' Type: 'integer'", + "options": { + "hidden": false + } + }, + { + "type": "integer", + "id": "/properties/harvest_by_season/items/properties/entries/items/properties/base_num/oneof1", + "title": "oneof 1 /properties/harvest_by_season/items/properties/entries/items/properties/base_num", + "default": 5, + "description": "A description for 'items' Type: 'integer'", + "options": { + "hidden": false + } + } + ] + }, + "propertyOrder": 20 + }, + "scale_num": { + "type": "array", + "id": "/properties/harvest_by_season/items/properties/entries/items/properties/scale_num", + "title": "Scale Num", + "format": "tabs", + "options": { + "disable_collapse": false, + "disable_array_add": false, + "disable_array_delete": false, + "disable_array_reorder": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "items": [ + { + "type": "number", + "default": 0, + "description": "A description for 'items' Type: 'integer'" + }, + { + "type": "number", + "default": 0.5, + "description": "A description for 'items' Type: 'number'" + } + ], + "propertyOrder": 30 + } + } + }, + "propertyOrder": 20 + } + } + }, + "propertyOrder": 140 + }, + "symbol": { + "type": "string", + "id": "/properties/symbol", + "title": "Symbol", + "default": "6", + "format": "text", + "description": "Description for 'symbol' Type: 'string' Path: '/properties/symbol'", + "options": { + "hidden": false + }, + "propertyOrder": 50 + }, + "color": { + "title": "Color", + "description": "The color of the symbol if no sprite is present in the tileset", + "oneOf": [ + { + "type": "string", + "default": "light_green", + "format": "text", + "title": "Single" + }, + { + "type": "array", + "title": "Multiple", + "format": "grid", + "uniqueItems": false, + "options": { + "disable_collapse": false, + "disable_array_add": false, + "disable_array_delete": false, + "disable_array_reorder": true, + "disable_properties": false, + "collapsed": false, + "hidden": false, + "multiple": true + }, + "items": { + "type": "string", + "default": "steel", + "format": "text" + } + } + ] + }, + "move_cost": { + "type": "integer", + "id": "/properties/move_cost", + "title": "Move Cost", + "default": 0, + "description": "A description for 'move_cost' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 70 + }, + "coverage": { + "type": "integer", + "id": "/properties/coverage", + "title": "Coverage", + "default": 50, + "description": "A description for 'coverage' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 80 + }, + "roof": { + "type": "string", + "id": "/properties/roof", + "title": "Roof", + "default": "t_flat_roof", + "format": "text", + "description": "Description for 'roof' Type: 'string' Path: '/properties/roof'", + "options": { + "hidden": false + }, + "propertyOrder": 90 + }, + "flags": { + "$ref": "#/definitions/flags", + "items": { + "enum": [ + "FLAMMABLE_ASH", + "WALL", + "SHRUB", + "SHORT", + "SHARP", + "THIN_OBSTACLE", + "CONTAINER", + "CONNECT_TO_WALL", + "AUTO_WALL_SYMBOL", + "BLOCK_WIND", + "MINEABLE", + "PERMEABLE", + "ALARMED", + "TRANSPARENT", + "SUPPORTS_ROOF", + "TREE", + "REDUCE_SCENT", + "HARVESTED", + "NOITEM" + ] + }, + "propertyOrder": 60 + }, + "deconstruct": { + "type": "object", + "title": "Deconstruct", + "options": { + "disable_collapse": false, + "disable_edit_json": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "defaultProperties": [ + "ter_set", + "items" + ], + "properties": { + "ter_set": { + "type": "string", + "title": "Ter Set", + "default": "t_floor", + "format": "text", + "description": "Description for 'ter_set' Type: 'string' Path: '/properties/deconstruct/properties/ter_set'", + "propertyOrder": 10 + }, + "items": { + "type": "array", + "title": "Items", + "format": "tabs", + "options": { + "disable_collapse": false, + "disable_array_add": false, + "disable_array_delete": false, + "disable_array_reorder": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "items": { + "type": "object", + "options": { + "disable_collapse": false, + "disable_edit_json": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "defaultProperties": [ + "item", + "count" + ], + "properties": { + "item": { + "type": "string", + "title": "Item", + "default": "processor", + "format": "text", + "description": "Description for 'item' Type: 'string' Path: '/properties/deconstruct/properties/items/items/properties/item'", + "propertyOrder": 10 + }, + "count": { + "type": "array", + "title": "Count", + "format": "tabs", + "options": { + "disable_collapse": false, + "disable_array_add": false, + "disable_array_delete": false, + "disable_array_reorder": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "items": [ + { + "type": "integer", + "default": 0 + }, + { + "type": "integer", + "default": 2 + } + ], + "propertyOrder": 20 + } + } + } + } + } + }, + "aliases": { + "type": "array", + "id": "/properties/aliases", + "title": "Aliases", + "format": "tabs", + "options": { + "disable_collapse": false, + "disable_array_add": false, + "disable_array_delete": false, + "disable_array_reorder": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "items": { + "type": "string", + "title": "oneof 0 /properties/aliases", + "default": "t_ballistic_glass_h", + "format": "text", + "description": "Description for 'items' Type: 'string' Path: '/properties/aliases/items'" + }, + "propertyOrder": 30 + }, + "bash": { + "type": "object", + "id": "/properties/bash", + "title": "Bash", + "options": { + "disable_collapse": false, + "disable_edit_json": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "defaultProperties": [ + "str_min", + "str_max", + "sound", + "sound_fail", + "ter_set", + "items" + ], + "properties": { + "str_min": { + "type": "integer", + "id": "/properties/bash/properties/str_min", + "title": "Str Min", + "default": 16, + "description": "A description for 'str_min' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 10 + }, + "str_max": { + "type": "integer", + "id": "/properties/bash/properties/str_max", + "title": "Str Max", + "default": 150, + "description": "A description for 'str_max' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 20 + }, + "sound": { + "type": "string", + "id": "/properties/bash/properties/sound", + "title": "Sound", + "default": "crunch!", + "format": "text", + "description": "Description for 'sound' Type: 'string' Path: '/properties/bash/properties/sound'", + "options": { + "hidden": false + }, + "propertyOrder": 30 + }, + "sound_fail": { + "type": "string", + "id": "/properties/bash/properties/sound_fail", + "title": "Sound Fail", + "default": "whack!", + "format": "text", + "description": "Description for 'sound_fail' Type: 'string' Path: '/properties/bash/properties/sound_fail'", + "options": { + "hidden": false + }, + "propertyOrder": 40 + }, + "ter_set": { + "type": "string", + "id": "/properties/bash/properties/ter_set", + "title": "Ter Set", + "default": "t_floor", + "format": "text", + "description": "Description for 'ter_set' Type: 'string' Path: '/properties/bash/properties/ter_set'", + "options": { + "hidden": false + }, + "propertyOrder": 50 + }, + "sound_vol": { + "type": "integer", + "id": "/properties/bash/properties/sound_vol", + "title": "Sound Vol", + "default": 20, + "description": "A description for 'sound_vol' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 50 + }, + "sound_fail_vol": { + "type": "integer", + "id": "/properties/bash/properties/sound_fail_vol", + "title": "Sound Fail Vol", + "default": 14, + "description": "A description for 'sound_fail_vol' Type: 'integer'", + "options": { + "hidden": false + }, + "propertyOrder": 60 + }, + "items": { + "type": "array", + "title": "Items", + "format": "tabs", + "options": { + "disable_collapse": false, + "disable_array_add": false, + "disable_array_delete": false, + "disable_array_reorder": true, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "items": { + "type": "object", + "options": { + "disable_collapse": false, + "disable_edit_json": false, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "defaultProperties": [ + "item", + "count" + ], + "properties": { + "item": { + "type": "string", + "title": "Item", + "default": "processor", + "format": "text", + "description": "Description for 'item' Type: 'string' Path: '/properties/deconstruct/properties/items/items/properties/item'", + "propertyOrder": 10 + }, + "count": { + "type": "array", + "title": "Count", + "format": "grid", + "options": { + "disable_collapse": true, + "disable_array_add": true, + "disable_array_delete": true, + "disable_array_reorder": true, + "disable_properties": false, + "collapsed": false, + "hidden": false + }, + "items": [ + { + "type": "integer", + "default": 0, + "options": { "compact": true } + }, + { + "type": "integer", + "default": 2, + "options": { "compact": true } + } + ], + "propertyOrder": 20 + }, + "prob": { + "type": "integer", + "title": "Prob", + "default": 50, + "description": "A description for 'str_max' Type: 'integer'", + "propertyOrder": 20 + } + } + } + } + }, + "propertyOrder": 120 } } } \ No newline at end of file diff --git a/data/json/schemas/tool.json b/data/json/schemas/tool.json index a867b60..392263a 100644 --- a/data/json/schemas/tool.json +++ b/data/json/schemas/tool.json @@ -261,103 +261,12 @@ "propertyOrder": 13 }, "mod_targets": { - "id": "/properties/gunmod_data/mod_targets", "$ref": "#/definitions/mod_targets", "propertyOrder": 13 }, "mode_modifier": { - "type": "array", - "id": "/properties/gunmod_data/mode_modifier", - "title": "Mode modifier", - "description": "The mode modifier this item provides", - "format": "table", - "options": { - "disable_collapse": false, - "disable_array_add": false, - "disable_array_delete": false, - "disable_array_reorder": true, - "disable_array_delete_all_rows": true, - "disable_array_delete_last_row": true, - "disable_properties": false, - "collapsed": false, - "hidden": false - }, - "items": { - "type": "array", - "id": "/properties/gunmod_data/mode_modifier/oneof0", - "default": [ "DEFAULT", "auto", 14 ], - "title": "Mode", - "format": "grid", - "options": { - "disable_collapse": false, - "disable_array_add": false, - "disable_array_delete": false, - "disable_array_reorder": true, - "disable_array_delete_all_rows": true, - "disable_array_delete_last_row": true, - "collapsed": false, - "compact": false, - "hidden": false - }, - "items": [ - { - "type": "string", - "id": "/properties/gunmod_data/mode_modifier/oneof0", - "default": "DEFAULT", - "format": "text", - "enum": [ "DEFAULT", "REACH", "AUTO" ], - "options": { - "hidden": false, - "compact": true - } - }, - { - "type": "string", - "id": "/properties/gunmod_data/mode_modifier/oneof1", - "default": "auto", - "format": "text", - "enum": [ "auto", "bayonet" ], - "options": { - "hidden": false, - "compact": true - } - }, - { - "type": "integer", - "id": "/properties/gunmod_data/mode_modifier/oneof2", - "default": 1, - "options": { - "hidden": false, - "inputAttributes": { - "style": "width: 60px" - }, - "compact": true - } - }, - { - "type": "array", - "id": "/properties/artifact_data/properties/effects_carried", - "format": "selectize", - "uniqueItems": true, - "options": { - "disable_collapse": false, - "disable_array_add": false, - "disable_array_delete": false, - "disable_array_reorder": true, - "disable_properties": false, - "collapsed": false, - "hidden": false, - "multiple": true, - "compact": true - }, - "items": { - "type": "string", - "enum": [ "MELEE", "REACH_ATTACK" ] - } - } - ] - }, - "propertyOrder": 90 + "$ref": "#/definitions/mode_modifier", + "propertyOrder": 13 } }, "propertyOrder": 150 @@ -650,6 +559,7 @@ "RADIO_CONTAINER", "RADIO_INVOKE_PROC", "LIGHT_2", + "LIGHT_3", "LIGHT_4", "LIGHT_6", "LIGHT_8", diff --git a/src/style/schema-styles.css b/src/style/schema-styles.css index 603546b..837b5aa 100644 --- a/src/style/schema-styles.css +++ b/src/style/schema-styles.css @@ -247,7 +247,11 @@ [data-schemapath='root.gunmod_data.mode_modifier'] div.selectize-control { width: 200px; }*/ -[data-schemapath='root.gunmod_data.mode_modifier'] div.je-panel, div.compact { +[data-schemapath='root.gunmod_data.mode_modifier'] div.je-panel { + display: inline-block; + /*width: fit-content;*/ +} +[data-schemapath='root.gunmod_data.mode_modifier'] div.compact { display: inline-block; /*width: fit-content;*/ }