Open vache opened 9 years ago
Graffiti should really be added at some point too.
NPC parsing gets broken due to malformed json, probably the multiple comment fields. Renaming the fields worked well, but may not be a good solution overall.
Fields, as of 9/19/15:
fd_null = 0,
fd_blood,
fd_bile,
fd_gibs_flesh,
fd_gibs_veggy,
fd_web,
fd_slime,
fd_acid,
fd_sap,
fd_sludge,
fd_fire,
fd_rubble,
fd_smoke,
fd_toxic_gas,
fd_tear_gas,
fd_nuke_gas,
fd_gas_vent,
fd_fire_vent,
fd_flame_burst,
fd_electricity,
fd_fatigue,
fd_push_items,
fd_shock_vent,
fd_acid_vent,
fd_plasma,
fd_laser,
fd_spotlight,
fd_dazzling,
fd_blood_veggy,
fd_blood_insect,
fd_blood_invertebrate,
fd_gibs_insect,
fd_gibs_invertebrate,
fd_cigsmoke,
fd_weedsmoke,
fd_cracksmoke,
fd_methsmoke,
fd_bees,
fd_incendiary,
fd_relax_gas,
fd_fungal_haze,
fd_hot_air1,
fd_hot_air2,
fd_hot_air3,
fd_hot_air4,
Specials to be Accounted For: (See https://github.com/CleverRaven/Cataclysm-DDA/blob/master/data/json/mapgen/mapgen-test.json and https://github.com/CleverRaven/Cataclysm-DDA/blob/master/doc/MAPGEN.md)
"place_vendingmachines": [ { "x": 3, "y": 1, "item_group": "jewelry_front" } ],
"place_toilets": [ { "x": 9, "y": 1, "amount": [ 88, 111 ] } ],
Note: need to add "amount" support to current."place_signs": [ { "x": 7, "y": 1, "signage": "it works again." } ],
"place_npcs": [ { "class": "bandit", "x": 15, "y": 13 } ]
Note: "class" comes from data/json/npcs/npc.json, the "id" field."set":[ { "point":"radiation", x: [1, 3], y: 2, "amount": [3, 16] } , { "square":"radiation", "amount":50, "x":1, "y":1, "x2":8, "y2":8 }, { "line":"radiation", "amount":30, "x":1, "y":1, "x2":10, "y2":10 } ]
Note: need to combine into squares. Can be done same way as rest of the groups probably."fields": { "B": { "field": "fd_blood", "age": 10, "density": 1 } }
or"place_fields": [ { "x": 5, "y": 1, "field": "fd_bile", "age": 20, "density": 2 } ],
"place_gaspumps": [ { "x": 1, "y": 1, "amount": [ 200, 222 ] } ],
Note: place_gaspump randomly selects diesel or gas. The json should probably be modified to allow the user to pick one or the other, and only randomly assign when one is not specified."place_vehicles": [ { "x": 5, "y": 3, "vehicle": "unicycle", "chance": 100, "status": 1 } ],
"place_rubble": [ { "x": 10, "y": 1 } ]
, optionally:"place_rubble": [ { "x": 10, "y": 1, "rubble_type":furniture_id, "items":false, "floor_type":terrain_id, "overwrite":true } ]