Compare commits
80 Commits
0.F-2
...
0.F-branch
@@ -1115,7 +1115,9 @@
|
||||
"name": [ "Shakes" ],
|
||||
"desc": [ "Your hands just won't stop shaking." ],
|
||||
"miss_messages": [ [ "You tremble", 4 ] ],
|
||||
"base_mods": { "str_mod": [ -1 ], "dex_mod": [ -4 ] }
|
||||
"base_mods": { "str_mod": [ -1 ], "dex_mod": [ -4 ] },
|
||||
"max_duration": 7200,
|
||||
"dur_add_perc": 30
|
||||
},
|
||||
{
|
||||
"type": "effect_type",
|
||||
@@ -2347,17 +2349,11 @@
|
||||
"desc": [ "AI effect to increase stats after fusing with another critter. 1 stack means one absorbed max_hp." ],
|
||||
"//": "stats modified by the zombie_fuse special attack.",
|
||||
"//1": "scaling:",
|
||||
"//2": "/48 HP: +0,5 melee_skill, +0,5 dodge_skill (unexpected movement), +5 Speed (bigger steps&more to attack with), +4 bash",
|
||||
"//3": "/160 HP: +1 size",
|
||||
"max_intensity": 480,
|
||||
"base_mods": { "hit_mod": [ 0.0104 ], "dodge_mod": [ 0.0104 ], "speed_mod": [ 0.1042 ], "bash_mod": [ 0.08333 ] },
|
||||
"scaling_mods": {
|
||||
"hit_mod": [ 0.0104 ],
|
||||
"dodge_mod": [ 0.0104 ],
|
||||
"speed_mod": [ 0.1042 ],
|
||||
"bash_mod": [ 0.08333 ],
|
||||
"size_mod": [ 0.00625 ]
|
||||
},
|
||||
"//2": "/50 HP: +0,5 melee_skill, +0,5 dodge_skill (unexpected movement), +5 Speed (bigger steps&more to attack with), +4 bash",
|
||||
"//3": "/250 HP: +1 size",
|
||||
"max_intensity": 500,
|
||||
"base_mods": { "hit_mod": [ 0.01 ], "dodge_mod": [ 0.01 ], "speed_mod": [ 0.1 ], "bash_mod": [ 0.08 ] },
|
||||
"scaling_mods": { "hit_mod": [ 0.01 ], "dodge_mod": [ 0.01 ], "speed_mod": [ 0.1 ], "bash_mod": [ 0.08 ], "size_mod": [ 0.004 ] },
|
||||
"int_decay_step": 0
|
||||
},
|
||||
{
|
||||
|
||||
@@ -416,7 +416,7 @@
|
||||
"color": "brown",
|
||||
"looks_like": "t_chainfence",
|
||||
"move_cost": 0,
|
||||
"flags": [ "TRANSPARENT", "NOITEM", "PERMEABLE", "AUTO_WALL_SYMBOL", "BURROWABLE" ],
|
||||
"flags": [ "TRANSPARENT", "NOITEM", "PERMEABLE", "AUTO_WALL_SYMBOL", "BURROWABLE", "CLIMBABLE" ],
|
||||
"connects_to": "CHAINFENCE",
|
||||
"examine_action": "chainfence",
|
||||
"deconstruct": {
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
"symbol": "<",
|
||||
"color": "light_red",
|
||||
"move_cost": 2,
|
||||
"flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "GOES_UP", "PLACE_ITEM" ],
|
||||
"flags": [ "SUPPORTS_ROOF", "TRANSPARENT", "FLAMMABLE_ASH", "GOES_UP", "PLACE_ITEM" ],
|
||||
"deconstruct": {
|
||||
"deconstruct_above": true,
|
||||
"ter_set": "t_floor",
|
||||
@@ -123,7 +123,7 @@
|
||||
"symbol": "<",
|
||||
"color": "yellow",
|
||||
"move_cost": 2,
|
||||
"flags": [ "TRANSPARENT", "GOES_UP", "INDOORS", "PLACE_ITEM" ]
|
||||
"flags": [ "SUPPORTS_ROOF", "TRANSPARENT", "GOES_UP", "INDOORS", "PLACE_ITEM" ]
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
|
||||
@@ -614,7 +614,7 @@
|
||||
{ "drop": "demihuman_flesh", "type": "flesh", "mass_ratio": 0.34 },
|
||||
{ "drop": "demihuman_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "demihuman_stomach", "scale_num": [ 1, 1 ], "max": 1, "type": "offal" },
|
||||
{ "drop": "bone", "type": "bone", "mass_ratio": 0.15 },
|
||||
{ "drop": "bone_demihuman", "type": "bone", "mass_ratio": 0.15 },
|
||||
{ "drop": "sinew", "type": "bone", "mass_ratio": 0.00035 },
|
||||
{ "drop": "raw_hfur", "type": "skin", "mass_ratio": 0.02 },
|
||||
{ "drop": "demihuman_fat", "type": "flesh", "mass_ratio": 0.07 }
|
||||
@@ -627,7 +627,7 @@
|
||||
"entries": [
|
||||
{ "drop": "demihuman_flesh", "type": "flesh", "mass_ratio": 0.34 },
|
||||
{ "drop": "demihuman_stomach_large", "scale_num": [ 1, 1 ], "max": 1, "type": "offal" },
|
||||
{ "drop": "bone", "type": "bone", "mass_ratio": 0.15 },
|
||||
{ "drop": "bone_demihuman", "type": "bone", "mass_ratio": 0.15 },
|
||||
{ "drop": "demihuman_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "sinew", "type": "bone", "mass_ratio": 0.00035 },
|
||||
{ "drop": "raw_hfur", "type": "skin", "mass_ratio": 0.02 },
|
||||
@@ -1204,7 +1204,7 @@
|
||||
{ "drop": "demihuman_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "demihuman_stomach", "scale_num": [ 1, 1 ], "max": 1, "type": "offal" },
|
||||
{ "drop": "demihuman_fat", "type": "flesh", "mass_ratio": 0.1 },
|
||||
{ "drop": "bone_human", "type": "bone", "mass_ratio": 0.12 },
|
||||
{ "drop": "bone_demihuman", "type": "bone", "mass_ratio": 0.12 },
|
||||
{ "drop": "sinew", "type": "bone", "mass_ratio": 0.001 },
|
||||
{ "drop": "raw_demihumanleather", "type": "skin", "mass_ratio": 0.01 }
|
||||
]
|
||||
@@ -1226,13 +1226,13 @@
|
||||
"id": "gozu",
|
||||
"type": "harvest",
|
||||
"entries": [
|
||||
{ "drop": "human_flesh", "type": "flesh", "mass_ratio": 0.18 },
|
||||
{ "drop": "demihuman_flesh", "type": "flesh", "mass_ratio": 0.18 },
|
||||
{ "drop": "blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "meat", "type": "flesh", "mass_ratio": 0.4 },
|
||||
{ "drop": "hstomach", "scale_num": [ 1, 1 ], "max": 1, "type": "offal" },
|
||||
{ "drop": "human_fat", "type": "flesh", "mass_ratio": 0.1 },
|
||||
{ "drop": "demihuman_stomach", "scale_num": [ 1, 1 ], "max": 1, "type": "offal" },
|
||||
{ "drop": "demihuman_fat", "type": "flesh", "mass_ratio": 0.1 },
|
||||
{ "drop": "blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "bone_human", "type": "bone", "mass_ratio": 0.12 },
|
||||
{ "drop": "bone_demihuman", "type": "bone", "mass_ratio": 0.12 },
|
||||
{ "drop": "sinew", "type": "bone", "mass_ratio": 0.001 },
|
||||
{ "drop": "raw_leather", "type": "skin", "mass_ratio": 0.01 },
|
||||
{ "drop": "raw_fur", "type": "skin", "mass_ratio": 0.001 }
|
||||
|
||||
@@ -483,7 +483,7 @@
|
||||
"description": "Cheap booze made from fermented fruit juice. Tastes just like it sounds.",
|
||||
"price": 550,
|
||||
"price_postapoc": 100,
|
||||
"material": [ "alcohol", "water" ],
|
||||
"material": [ "alcohol", "water", "fruit" ],
|
||||
"primary_material": "alcohol",
|
||||
"volume": "250 ml",
|
||||
"phase": "liquid",
|
||||
|
||||
@@ -924,7 +924,7 @@
|
||||
"copy-from": "bone",
|
||||
"name": { "str": "demihuman bone" },
|
||||
"description": "A bone from a demihuman being. Could be used to make some stuff, if you're feeling sufficiently ghoulish.",
|
||||
"flags": [ "STRICT_HUMANITARIANISM" ]
|
||||
"extend": { "flags": [ "STRICT_HUMANITARIANISM" ] }
|
||||
},
|
||||
{
|
||||
"type": "COMESTIBLE",
|
||||
@@ -1062,7 +1062,7 @@
|
||||
"name": { "str": "raw demihuman skin" },
|
||||
"description": "A carefully folded raw skin harvested from a demihuman. You can cure it for storage and tanning, or eat it if you're desperate enough.",
|
||||
"material": [ "flesh" ],
|
||||
"flags": [ "STRICT_HUMANITARIANISM" ]
|
||||
"extend": { "flags": [ "STRICT_HUMANITARIANISM" ] }
|
||||
},
|
||||
{
|
||||
"type": "COMESTIBLE",
|
||||
@@ -1094,9 +1094,7 @@
|
||||
"spoils_in": "6 hours",
|
||||
"use_action": [ "POISON" ],
|
||||
"description": "A carefully folded raw skin harvested from a fur-bearing unnatural creature. It still has the fur attached and is poisonous. You can cure it for storage and tanning.",
|
||||
"price": 0,
|
||||
"price_postapoc": 50,
|
||||
"flags": [ "NO_SALVAGE" ]
|
||||
"price": 0
|
||||
},
|
||||
{
|
||||
"type": "COMESTIBLE",
|
||||
@@ -1217,7 +1215,7 @@
|
||||
"name": { "str": "demihuman stomach" },
|
||||
"description": "The stomach of an intelligent demihuman. It is surprisingly durable.",
|
||||
"material": [ "flesh" ],
|
||||
"flags": [ "STRICT_HUMANITARIANISM" ]
|
||||
"extend": { "flags": [ "STRICT_HUMANITARIANISM" ] }
|
||||
},
|
||||
{
|
||||
"id": "demihuman_stomach_large",
|
||||
@@ -1226,16 +1224,16 @@
|
||||
"name": { "str": "large demihuman stomach" },
|
||||
"description": "The stomach of a large humanoid creature. It is surprisingly durable.",
|
||||
"proportional": { "weight": 2.0, "volume": 2.0, "price": 1.5, "calories": 2.0 },
|
||||
"flags": [ "STRICT_HUMANITARIANISM" ]
|
||||
"extend": { "flags": [ "STRICT_HUMANITARIANISM" ] }
|
||||
},
|
||||
{
|
||||
"id": "demihuman_fat",
|
||||
"copy-from": "fat",
|
||||
"type": "COMESTIBLE",
|
||||
"name": { "str": "chunk of demihuman fat", "str_pl": "chunks of demihuman fat" },
|
||||
"description": "Freshly harvested from a human body.",
|
||||
"description": "Freshly harvested from a demihuman body.",
|
||||
"material": [ "flesh" ],
|
||||
"flags": [ "STRICT_HUMANITARIANISM" ]
|
||||
"extend": { "flags": [ "STRICT_HUMANITARIANISM" ] }
|
||||
},
|
||||
{
|
||||
"type": "COMESTIBLE",
|
||||
@@ -1246,15 +1244,15 @@
|
||||
"price": 500,
|
||||
"//": "*May* have been commercially traded.",
|
||||
"material": [ "flesh" ],
|
||||
"flags": [ "STRICT_HUMANITARIANISM" ]
|
||||
"extend": { "flags": [ "STRICT_HUMANITARIANISM" ] }
|
||||
},
|
||||
{
|
||||
"type": "COMESTIBLE",
|
||||
"id": "demihuman_lard",
|
||||
"name": { "str": "demihuman lard" },
|
||||
"copy-from": "human_tallow",
|
||||
"copy-from": "lard",
|
||||
"description": "A smooth white block of dry-rendered demihuman fat. It will remain edible for a very long time, and can be used as an ingredient in many foods and projects.",
|
||||
"flags": [ "STRICT_HUMANITARIANISM" ]
|
||||
"extend": { "flags": [ "STRICT_HUMANITARIANISM" ] }
|
||||
},
|
||||
{
|
||||
"id": "demihuman_flesh",
|
||||
@@ -1264,7 +1262,7 @@
|
||||
"name": { "str_sp": "demihuman flesh" },
|
||||
"description": "Freshly butchered from a demihuman body.",
|
||||
"material": [ "flesh" ],
|
||||
"flags": [ "STRICT_HUMANITARIANISM" ]
|
||||
"extend": { "flags": [ "STRICT_HUMANITARIANISM" ] }
|
||||
},
|
||||
{
|
||||
"id": "demihuman_blood",
|
||||
@@ -1292,7 +1290,7 @@
|
||||
"parasites": 0,
|
||||
"healthy": 0,
|
||||
"fun": 0,
|
||||
"flags": [ "EATEN_HOT", "STRICT_HUMANITARIANISM" ]
|
||||
"extend": { "flags": [ "STRICT_HUMANITARIANISM" ] }
|
||||
},
|
||||
{
|
||||
"type": "COMESTIBLE",
|
||||
@@ -1302,7 +1300,7 @@
|
||||
"calories": 240,
|
||||
"description": "A boiled stomach from a demihuman, nothing else. It looks all but appetizing.",
|
||||
"material": [ "flesh" ],
|
||||
"flags": [ "STRICT_HUMANITARIANISM" ]
|
||||
"extend": { "flags": [ "STRICT_HUMANITARIANISM" ] }
|
||||
},
|
||||
{
|
||||
"type": "COMESTIBLE",
|
||||
@@ -1311,6 +1309,6 @@
|
||||
"name": { "str": "boiled demihuman stomach" },
|
||||
"description": "A small boiled stomach from a demihuman, nothing else. It looks all but appetizing.",
|
||||
"material": [ "flesh" ],
|
||||
"flags": [ "STRICT_HUMANITARIANISM" ]
|
||||
"extend": { "flags": [ "STRICT_HUMANITARIANISM" ] }
|
||||
}
|
||||
]
|
||||
|
||||
@@ -959,7 +959,8 @@
|
||||
"weight": "15000 g",
|
||||
"volume": "20 L",
|
||||
"bashing": 5,
|
||||
"to_hit": -5
|
||||
"to_hit": -5,
|
||||
"flags": [ "FRAGILE_MELEE" ]
|
||||
},
|
||||
{
|
||||
"type": "GENERIC",
|
||||
|
||||
@@ -470,7 +470,7 @@
|
||||
"weight": "20 g",
|
||||
"volume": "250 ml",
|
||||
"price": 100,
|
||||
"to_hit": 10,
|
||||
"to_hit": -1,
|
||||
"cutting": 1,
|
||||
"material": [ "paper" ],
|
||||
"qualities": [ [ "FILTER", 2 ] ]
|
||||
@@ -486,7 +486,7 @@
|
||||
"weight": "20 g",
|
||||
"volume": "250 ml",
|
||||
"price": 100,
|
||||
"to_hit": 10,
|
||||
"to_hit": -1,
|
||||
"cutting": 1,
|
||||
"material": [ "paper" ],
|
||||
"qualities": [ [ "FILTER", 1 ] ]
|
||||
|
||||
@@ -6,32 +6,32 @@
|
||||
"//": "New England Church",
|
||||
"weight": 1000,
|
||||
"object": {
|
||||
"fill_ter": "t_dirt",
|
||||
"fill_ter": "t_region_groundcover_urban",
|
||||
"rows": [
|
||||
" ^^^^^^ ",
|
||||
" |---|--------| ",
|
||||
" ||dhy|.6ooo.ll|| ",
|
||||
" |W...+.........Dsss ",
|
||||
" ^^|--+-|------+--|^^s ",
|
||||
" ^||yy...rrrr...yy||^s ",
|
||||
" wp...b.rttr.b....w s ",
|
||||
" |......rrrr......| s ",
|
||||
" ^w.......rr.......w^s ",
|
||||
" ^|.######rr######.|^s ",
|
||||
" ^w.......rr.......w^s ",
|
||||
" ^|.######rr######.|^s ",
|
||||
" w.......rr.......w s ",
|
||||
" |.######rr######.| s ",
|
||||
" ^w.......rr.......w^s ",
|
||||
" ^|.######rr######.|^s ",
|
||||
" ^|y......rr......y|^s ",
|
||||
" |-w|----rr----|w-| s ",
|
||||
" ^^|ll|<rry|ST|^^ s ",
|
||||
" ^|....rr.+..|^ s ",
|
||||
" |----++-|--| s ",
|
||||
" O ss O s ",
|
||||
" ^^ ss ^^ s ",
|
||||
" ^^ ss ^^ s "
|
||||
" ^^ ss ^^ s ",
|
||||
" O ss O s ",
|
||||
" |----++-|--| s ",
|
||||
" ^|....rr.+..|^ s ",
|
||||
" ^^|ll|<rry|ST|^^ s ",
|
||||
" ^|-w|----rr----|w-|^s ",
|
||||
" ^|y......rr......y|^s ",
|
||||
" ^|.######rr######.|^s ",
|
||||
" ^w.......rr.......w^s ",
|
||||
" ^|.######rr######.|^s ",
|
||||
" ^w.......rr.......w^s ",
|
||||
" ^|.######rr######.|^s ",
|
||||
" ^w.......rr.......w^s ",
|
||||
" ^|.######rr######.|^s ",
|
||||
" ^w.......rr.......w^s ",
|
||||
" ^|......rrrr......|^s ",
|
||||
" ^wp...b.rttr.b....w^s ",
|
||||
" ^||yy...rrrr...yy||^s ",
|
||||
" ^^|--+-|------+--|^^s ",
|
||||
" |W...+.........Dsss ",
|
||||
" ||dhy|.6ooo.ll|| ",
|
||||
" |---|--------| ",
|
||||
" ^^^^^^ "
|
||||
],
|
||||
"terrain": {
|
||||
"p": "t_floor",
|
||||
@@ -72,28 +72,28 @@
|
||||
"fill_ter": "t_open_air",
|
||||
"rows": [
|
||||
" ",
|
||||
" |2222222222223 ",
|
||||
" ||............33 ",
|
||||
" |..............3 ",
|
||||
" |..............3 ",
|
||||
" ||..............33 ",
|
||||
" |................3 ",
|
||||
" |................3 ",
|
||||
" |................3 ",
|
||||
" |................3 ",
|
||||
" |................3 ",
|
||||
" |................3 ",
|
||||
" |................3 ",
|
||||
" |................3 ",
|
||||
" |................3 ",
|
||||
" |................3 ",
|
||||
" |.....######.....3 ",
|
||||
" |--|..#____#..3--3 ",
|
||||
" |..#> <#..3 ",
|
||||
" |..#____#..3 ",
|
||||
" |--######--3 ",
|
||||
" O O ",
|
||||
" ",
|
||||
" O O ",
|
||||
" |22######223 ",
|
||||
" |..#____#..3 ",
|
||||
" |..#> <#..3 ",
|
||||
" |22|..#____#..3223 ",
|
||||
" |.....######.....3 ",
|
||||
" |................3 ",
|
||||
" |................3 ",
|
||||
" |................3 ",
|
||||
" |................3 ",
|
||||
" |................3 ",
|
||||
" |................3 ",
|
||||
" |................3 ",
|
||||
" |................3 ",
|
||||
" |................3 ",
|
||||
" |................3 ",
|
||||
" ||..............33 ",
|
||||
" |..............3 ",
|
||||
" |..............3 ",
|
||||
" ||............33 ",
|
||||
" |------------3 ",
|
||||
" "
|
||||
],
|
||||
"palettes": [ "roof_palette" ],
|
||||
@@ -114,19 +114,6 @@
|
||||
"object": {
|
||||
"fill_ter": "t_floor",
|
||||
"rows": [
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
@@ -137,6 +124,19 @@
|
||||
" ##oo## ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" "
|
||||
],
|
||||
"palettes": [ "roof_palette" ],
|
||||
@@ -150,19 +150,6 @@
|
||||
"object": {
|
||||
"fill_ter": "t_floor",
|
||||
"rows": [
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
@@ -173,6 +160,19 @@
|
||||
" ##oo## ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" "
|
||||
],
|
||||
"palettes": [ "roof_palette" ],
|
||||
@@ -186,19 +186,6 @@
|
||||
"object": {
|
||||
"fill_ter": "t_floor",
|
||||
"rows": [
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
@@ -209,6 +196,19 @@
|
||||
" ...... ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" "
|
||||
],
|
||||
"palettes": [ "roof_palette" ],
|
||||
@@ -222,32 +222,32 @@
|
||||
"//": "Gothic Church",
|
||||
"weight": 1000,
|
||||
"object": {
|
||||
"fill_ter": "t_dirt",
|
||||
"fill_ter": "t_region_groundcover_urban",
|
||||
"rows": [
|
||||
" $$ W W $$ ",
|
||||
" $$ WWWWGVBBVGWWWW $$ ",
|
||||
" W..h.cccc.h..W ",
|
||||
" WWVWWR..........RWWBWW ",
|
||||
"WW#.#.R.b..cc..b.R.#.#WW",
|
||||
" G#.#.R..........R.#.#V ",
|
||||
" V#.#.Rrrrr..rrrrR.#.#B ",
|
||||
"WW#..................#WW",
|
||||
" WW+WW#####..#####WW+WW ",
|
||||
"ssss V............B ssss",
|
||||
"s WW#####..#####WW s",
|
||||
"s $ WW............WW $ s",
|
||||
"s $ G#####..#####V $ s",
|
||||
"s $ B............G $ s",
|
||||
"s $ WW#####..#####WW $ s",
|
||||
"s $ WW............WW $ s",
|
||||
"s V####....####B s",
|
||||
"s WWWW-----gg-----WWWW s",
|
||||
"s WSyWlll,y,,y,lllW,<W s",
|
||||
"s W,,+,,,,,,,,,,,,+,,W s",
|
||||
"s W,,WWWWWW++WWWWWW,tW s",
|
||||
"s WT,WW$$WWssWW$$WW6tW s",
|
||||
"ssssssssssssssssssssssss",
|
||||
"s WWWWW ss WWWWW s",
|
||||
"ssssssssssssssssssssssss"
|
||||
"s WT,WW$$WWssWW$$WW6tW s",
|
||||
"s W,,WWWWWW++WWWWWW,tW s",
|
||||
"s W,,+,,,,,,,,,,,,+,,W s",
|
||||
"s WSyWlll,y,,y,lllW,<W s",
|
||||
"s WWWW-----gg-----WWWW s",
|
||||
"s V####....####B s",
|
||||
"s $ WW............WW $ s",
|
||||
"s $ WW#####..#####WW $ s",
|
||||
"s $ B............G $ s",
|
||||
"s $ G#####..#####V $ s",
|
||||
"s $ WW............WW $ s",
|
||||
"s WW#####..#####WW s",
|
||||
"ssss V............B ssss",
|
||||
" WW+WW#####..#####WW+WW ",
|
||||
"WW#..................#WW",
|
||||
" V#.#.Rrrrr..rrrrR.#.#B ",
|
||||
" G#.#.R..........R.#.#V ",
|
||||
"WW#.#.R.b..cc..b.R.#.#WW",
|
||||
" WWVWWR..........RWWBWW ",
|
||||
" W..h.cccc.h..W ",
|
||||
" $$ WWWWGVBBVGWWWW $$ ",
|
||||
" $$ W W $$ "
|
||||
],
|
||||
"palettes": [ "church" ],
|
||||
"mapping": { "b": { "furniture": "f_brazier" } },
|
||||
@@ -302,30 +302,30 @@
|
||||
"object": {
|
||||
"fill_ter": "t_floor",
|
||||
"rows": [
|
||||
" x x ",
|
||||
" xxxxxxxxxxxxxx ",
|
||||
" ",
|
||||
" wGGGw wGGGw ",
|
||||
" wdddwwwww wwwwwdddw ",
|
||||
" B.h...wywBBwywf..h.B ",
|
||||
" w...c.+......+.....w ",
|
||||
" wHHHHywy....ywyff<>w ",
|
||||
" wwwwwDwww++wwwDwwwww ",
|
||||
" x___wb..bw___x ",
|
||||
" xx___Bb..bB___xx ",
|
||||
" xx___Gy..yG___xx ",
|
||||
" x___ww++ww___x ",
|
||||
" x____________x ",
|
||||
" xx____________xx ",
|
||||
" xx____________xx ",
|
||||
" x___U________x ",
|
||||
" xxxxx____________xxxxx ",
|
||||
"xx_______U____________xx",
|
||||
"xx____________________xx",
|
||||
" x____________________x ",
|
||||
" x____________________x ",
|
||||
"xx____________________xx",
|
||||
" xxxxx____________xxxxx ",
|
||||
" x____________x ",
|
||||
" xx____________xx ",
|
||||
" xx____________xx ",
|
||||
" x____________x ",
|
||||
" x___ww++ww___x ",
|
||||
" xx___Gy..yG___xx ",
|
||||
" xx___Bb..bB___xx ",
|
||||
" x___wb..bw___x ",
|
||||
" wwwwwDwww++wwwDwwwww ",
|
||||
" wHHHHywy....ywyff<>w ",
|
||||
" w...c.+......+.....w ",
|
||||
" B.h...wywBBwywf..h.B ",
|
||||
" wdddwwwww wwwwwdddw ",
|
||||
" wGGGw wGGGw ",
|
||||
" "
|
||||
" xxxxxxxxxxxxxx ",
|
||||
" x x "
|
||||
],
|
||||
"palettes": [ "roof_palette" ],
|
||||
"terrain": {
|
||||
@@ -367,28 +367,28 @@
|
||||
"fill_ter": "t_floor",
|
||||
"rows": [
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" xxxxxx ",
|
||||
" x____x ",
|
||||
" x____x ",
|
||||
" x____x ",
|
||||
" wwwDwwwwwDDwwwwwDwww ",
|
||||
" wK.ytmw.mttm.w.y.>.w ",
|
||||
" w.....+......+....cw ",
|
||||
" Bj..HHwtsssstwth..SB ",
|
||||
" wjt.wwwwwGGwwwwwFecw ",
|
||||
" wBGBw wBGBw ",
|
||||
" wjt.wwwwwGGwwwwwFecw ",
|
||||
" Bj..HHwtsssstwth..SB ",
|
||||
" w.....+......+....cw ",
|
||||
" wK.ytmw.mttm.w.y.>.w ",
|
||||
" wwwDwwwwwDDwwwwwDwww ",
|
||||
" x____x ",
|
||||
" x____x ",
|
||||
" x____x ",
|
||||
" xxxxxx ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" "
|
||||
],
|
||||
"palettes": [ "roof_palette" ],
|
||||
@@ -431,28 +431,28 @@
|
||||
"fill_ter": "t_rock_floor_no_roof",
|
||||
"rows": [
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" xxxxxxxxxxxxxxxxxxxx ",
|
||||
" x..................x ",
|
||||
" x..X............A..x ",
|
||||
" x.........:........x ",
|
||||
" x...xxxxxxxxxxxx...x ",
|
||||
" xxxxx xxxxx ",
|
||||
" x...xxxxxxxxxxxx...x ",
|
||||
" x.........:........x ",
|
||||
" x..X............A..x ",
|
||||
" x..................x ",
|
||||
" xxxxxxxxxxxxxxxxxxxx ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" "
|
||||
],
|
||||
"palettes": [ "roof_palette" ],
|
||||
|
||||
@@ -46,7 +46,6 @@
|
||||
"%": "t_wall_glass",
|
||||
"+": "t_door_metal_c",
|
||||
"^": "t_door_glass_c",
|
||||
"&": "t_atm",
|
||||
"D": "t_door_c",
|
||||
"d": "t_door_c",
|
||||
"a": "t_atm",
|
||||
|
||||
@@ -696,7 +696,19 @@
|
||||
"steyr_aug",
|
||||
"tanto",
|
||||
"tanto_inferior",
|
||||
"tanto_fake"
|
||||
"tanto_fake",
|
||||
"kirpan",
|
||||
"kirpan_cheap",
|
||||
"kris",
|
||||
"kris_fake",
|
||||
"kukri",
|
||||
"knife_butcher",
|
||||
"knife_carving",
|
||||
"knife_chef",
|
||||
"knife_steak",
|
||||
"pockknife",
|
||||
"punch_dagger",
|
||||
"sword_bayonet"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -847,7 +847,7 @@
|
||||
"dmg_adj": [ "bruised", "mutilated", "badly mutilated", "thoroughly mutilated" ],
|
||||
"bash_dmg_verb": "bruised",
|
||||
"cut_dmg_verb": "sliced",
|
||||
"vitamins": [ [ "calcium", 1, "iron", 1.3 ] ],
|
||||
"vitamins": [ [ "calcium", 1 ], [ "iron", 1.3 ] ],
|
||||
"burn_data": [
|
||||
{ "fuel": 1, "smoke": 1, "burn": 1, "volume_per_turn": "2500 ml" },
|
||||
{ "fuel": 2, "smoke": 3, "burn": 2, "volume_per_turn": "10000 ml" },
|
||||
@@ -1201,6 +1201,7 @@
|
||||
"specific_heat_liquid": 1.34,
|
||||
"specific_heat_solid": 1.34,
|
||||
"latent_heat": 333,
|
||||
"soft": true,
|
||||
"bash_resist": 1,
|
||||
"cut_resist": 1,
|
||||
"bullet_resist": 1,
|
||||
|
||||
@@ -116,6 +116,7 @@
|
||||
"material": [ "flesh" ],
|
||||
"symbol": "c",
|
||||
"color": "light_gray",
|
||||
"luminance": 4,
|
||||
"looks_like": "mon_cat",
|
||||
"aggression": -99,
|
||||
"morale": 2,
|
||||
@@ -160,6 +161,7 @@
|
||||
"material": [ "flesh" ],
|
||||
"symbol": "c",
|
||||
"color": "light_gray",
|
||||
"luminance": 4,
|
||||
"looks_like": "mon_cat_kitten",
|
||||
"melee_cut": 2,
|
||||
"dodge": 14,
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
"melee_dice_sides": 4,
|
||||
"melee_cut": 0,
|
||||
"dodge": 2,
|
||||
"harvest": "human",
|
||||
"harvest": "demihuman",
|
||||
"special_attacks": [ [ "FEAR_PARALYZE", 0 ] ],
|
||||
"death_function": [ "AMIGARA", "NORMAL" ],
|
||||
"flags": [ "SMELLS", "HEARS", "SEES", "STUMBLES", "HARDTOSHOOT" ]
|
||||
|
||||
@@ -706,7 +706,7 @@
|
||||
"type": "mutation",
|
||||
"id": "CANNIBAL",
|
||||
"name": { "str": "Cannibal" },
|
||||
"points": 3,
|
||||
"points": 2,
|
||||
"//": "Feral humans vastly increase the cannibal meat supply, therefore this trait needs to increase in cost.",
|
||||
"description": "For your whole life you've been forbidden from indulging in your peculiar tastes. Now the world's ended, and you'll be damned if anyone is going to tell you that you can't eat people.",
|
||||
"starting_trait": true,
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"id": "NC_JUNK_SHOPKEEP_misc",
|
||||
"ammo": 75,
|
||||
"magazine": 100,
|
||||
"subtype": "distribution",
|
||||
"subtype": "collection",
|
||||
"entries": [
|
||||
{ "item": "vest", "prob": 40 },
|
||||
{ "item": "kevlar", "prob": 15 },
|
||||
@@ -40,12 +40,9 @@
|
||||
{ "item": "gloves_tactical", "prob": 15 },
|
||||
{ "item": "gauntlets_larmor", "prob": 25 },
|
||||
{ "item": "gloves_fur", "prob": 5 },
|
||||
{ "item": "gloves_leather", "prob": 35 },
|
||||
{ "item": "boots", "prob": 20 },
|
||||
{ "item": "boots_steel", "prob": 20 },
|
||||
{ "item": "boots_hiking", "prob": 30 },
|
||||
{ "item": "knee_high_boots", "prob": 5 },
|
||||
{ "item": "boots_combat", "prob": 15 },
|
||||
{ "item": "boots_larmor", "prob": 10 },
|
||||
{ "item": "boots_fur", "prob": 10 },
|
||||
{ "item": "helmet_army", "prob": 25 },
|
||||
@@ -66,13 +63,10 @@
|
||||
{ "item": "duffelbag", "prob": 10 },
|
||||
{ "item": "mask_hockey", "prob": 15 },
|
||||
{ "item": "mask_gas", "prob": 25, "charges-min": 10 },
|
||||
{ "item": "mask_filter", "prob": 20, "charges-min": 0 },
|
||||
{ "item": "sunglasses", "prob": 15 },
|
||||
{ "item": "glasses_safety", "prob": 15 },
|
||||
{ "item": "goggles_ski", "prob": 5 },
|
||||
{ "item": "tacvest", "prob": 20 },
|
||||
{ "item": "legrig", "prob": 15 },
|
||||
{ "item": "tool_belt", "prob": 15 },
|
||||
{ "item": "fanny", "prob": 5 },
|
||||
{ "item": "dump_pouch", "prob": 5 },
|
||||
{ "item": "ragpouch", "prob": 15 },
|
||||
@@ -147,82 +141,48 @@
|
||||
{ "item": "pistol_scope", "prob": 10 },
|
||||
{ "item": "improve_sights", "prob": 20 },
|
||||
{ "item": "ashot", "prob": 5 },
|
||||
{ "item": "polisher", "prob": 10 },
|
||||
{ "item": "jumper_cable", "prob": 3 },
|
||||
{ "item": "superglue", "prob": 30 },
|
||||
{ "item": "string_6", "prob": 2 },
|
||||
{ "item": "string_36", "prob": 40 },
|
||||
{ "item": "screwdriver", "prob": 40 },
|
||||
{ "item": "wrench", "prob": 30 },
|
||||
{ "item": "hacksaw", "prob": 17 },
|
||||
{ "item": "xacto", "prob": 10 },
|
||||
{ "item": "gloves_leather", "prob": 45 },
|
||||
{ "item": "gloves_work", "prob": 30 },
|
||||
{ "item": "cordless_drill", "prob": 10 },
|
||||
{ "item": "mask_dust", "prob": 65 },
|
||||
{ "item": "glasses_safety", "prob": 40 },
|
||||
{ "group": "ammo_pocket_batteries_full", "prob": 50 },
|
||||
{ "item": "nail", "prob": 35 },
|
||||
{ "item": "nailgun", "prob": 12 },
|
||||
{ "item": "hand_drill", "prob": 10 },
|
||||
{ "item": "solar_cell", "prob": 5 },
|
||||
{ "item": "manual_mechanics", "prob": 35 },
|
||||
{ "item": "manual_fabrication", "prob": 20 },
|
||||
{ "item": "recipe_bows", "prob": 10 },
|
||||
{ "item": "recipe_arrows", "prob": 10 },
|
||||
{ "item": "hammer", "prob": 35 },
|
||||
{ "item": "saw", "prob": 35 },
|
||||
{ "item": "flashlight", "prob": 40, "charges-min": 0 },
|
||||
{ "item": "soldering_iron", "prob": 30 },
|
||||
{ "item": "solder_wire", "prob": 30 },
|
||||
{ "item": "bubblewrap", "prob": 50 },
|
||||
{ "item": "binoculars", "prob": 20 },
|
||||
{ "item": "roller_blades", "prob": 20 },
|
||||
{ "item": "duct_tape", "prob": 70 },
|
||||
{ "item": "lawnmower", "prob": 25 },
|
||||
{ "item": "floodlight", "prob": 10 },
|
||||
{ "item": "minifridge", "prob": 5 },
|
||||
{ "item": "minifreezer", "prob": 2 },
|
||||
{ "item": "char_smoker", "prob": 25 },
|
||||
{ "item": "lawn_dart", "prob": 10 },
|
||||
{ "item": "dehydrator", "prob": 15, "charges-min": 0 },
|
||||
{ "item": "foot_crank", "prob": 10 },
|
||||
{ "item": "boltcutters", "prob": 5 },
|
||||
{ "item": "spray_can", "prob": 50 },
|
||||
{ "item": "jar_glass_sealed", "prob": 50 },
|
||||
{ "item": "jar_3l_glass_sealed", "prob": 40 },
|
||||
{ "item": "flotation_vest", "prob": 1 },
|
||||
{ "item": "fishing_rod_professional", "prob": 2 },
|
||||
{ "item": "bearing", "prob": 1 },
|
||||
{ "item": "atomic_light", "prob": 1 },
|
||||
{ "item": "atomic_lamp", "prob": 1 },
|
||||
{ "item": "alarmclock", "prob": 10 },
|
||||
{ "item": "fungicide", "prob": 10 },
|
||||
{ "item": "insecticide", "prob": 10 },
|
||||
{ "item": "oil_lamp", "prob": 10, "charges-min": 0 },
|
||||
{ "item": "lamp_oil", "prob": 10 },
|
||||
{ "item": "grapnel", "prob": 1 },
|
||||
{ "item": "misc_repairkit", "prob": 15 },
|
||||
{ "item": "charcoal", "prob": 20 },
|
||||
{ "group": "tools_toolbox", "prob": 2 },
|
||||
{ "item": "knitting_needles", "prob": 10 },
|
||||
{ "item": "sheath", "prob": 15 },
|
||||
{ "item": "peephole", "prob": 2 },
|
||||
{ "item": "magnifying_glass", "prob": 5 },
|
||||
{ "item": "thermometer", "prob": 3 },
|
||||
{ "item": "hygrometer", "prob": 3 },
|
||||
{ "item": "barometer", "prob": 3 },
|
||||
{ "item": "polisher", "prob": 15 },
|
||||
{ "item": "jumper_cable", "prob": 10 },
|
||||
{ "item": "jumper_cable_heavy", "prob": 2 },
|
||||
{ "item": "concrete", "prob": 20 },
|
||||
{ "item": "metal_smoother", "prob": 10 },
|
||||
{ "item": "brick_kiln", "prob": 5 },
|
||||
{ "item": "kiln", "prob": 2 },
|
||||
{ "item": "brick", "prob": 20 },
|
||||
{ "item": "con_mix", "prob": 5 },
|
||||
{ "item": "rebar", "prob": 20 },
|
||||
{ "item": "superglue", "prob": 30 },
|
||||
{ "item": "chain", "prob": 20 },
|
||||
{ "item": "rope_6", "prob": 4 },
|
||||
{ "item": "rope_30", "prob": 35 },
|
||||
@@ -233,7 +193,6 @@
|
||||
{ "item": "pipe", "prob": 20 },
|
||||
{ "item": "nail", "prob": 35 },
|
||||
{ "item": "hose", "prob": 15 },
|
||||
{ "item": "string_36", "prob": 40 },
|
||||
{ "item": "frame", "prob": 20 },
|
||||
{ "item": "hdframe", "prob": 10 },
|
||||
{ "item": "metal_tank", "prob": 10 },
|
||||
@@ -241,19 +200,15 @@
|
||||
{ "item": "water_faucet", "prob": 10 },
|
||||
{ "item": "wire", "prob": 50 },
|
||||
{ "item": "wire_barbed", "prob": 20 },
|
||||
{ "item": "duct_tape", "prob": 60 },
|
||||
{ "item": "jerrycan", "prob": 10 },
|
||||
{ "item": "lawnmower", "prob": 25 },
|
||||
{ "item": "trimmer_off", "prob": 20 },
|
||||
{ "item": "floodlight", "prob": 20 },
|
||||
{ "item": "minifridge", "prob": 10 },
|
||||
{ "item": "minifreezer", "prob": 4 },
|
||||
{ "item": "char_smoker", "prob": 25 },
|
||||
{ "item": "dehydrator", "prob": 15, "charges-min": 0 },
|
||||
{ "item": "sheath", "prob": 15 },
|
||||
{ "item": "foot_crank", "prob": 10 },
|
||||
{ "item": "spray_can", "prob": 50 },
|
||||
{ "item": "ax", "prob": 8 },
|
||||
{ "item": "g_shovel", "prob": 20 },
|
||||
{ "item": "jerrycan_big", "prob": 10 },
|
||||
{ "item": "funnel", "prob": 50 },
|
||||
{ "item": "bearing", "prob": 1 },
|
||||
@@ -263,43 +218,28 @@
|
||||
{ "item": "char_forge", "prob": 1 },
|
||||
{ "item": "char_kiln", "prob": 1 },
|
||||
{ "item": "crucible", "prob": 1 },
|
||||
{ "item": "tongs", "prob": 1 },
|
||||
{ "item": "chisel", "prob": 2 },
|
||||
{ "item": "swage", "prob": 1 },
|
||||
{ "item": "anvil", "prob": 2 },
|
||||
{ "item": "apron_leather", "prob": 10 },
|
||||
{ "item": "tool_belt", "prob": 30 },
|
||||
{ "item": "knee_pads", "prob": 20 },
|
||||
{ "item": "cu_pipe", "prob": 50 },
|
||||
{ "item": "fungicide", "prob": 5 },
|
||||
{ "item": "insecticide", "prob": 5 },
|
||||
{ "item": "charcoal", "prob": 5 },
|
||||
{ "item": "sheath", "prob": 10 },
|
||||
{ "item": "multitool", "prob": 6 },
|
||||
{ "item": "survnote", "prob": 1 },
|
||||
{ "item": "fertilizer_commercial", "prob": 30 },
|
||||
{ "item": "peephole", "prob": 25 },
|
||||
{ "item": "magnifying_glass", "prob": 5 },
|
||||
{ "item": "chem_chromium_oxide", "prob": 5 },
|
||||
{ "item": "chem_thermite", "prob": 10 },
|
||||
{ "item": "polisher", "prob": 20 },
|
||||
{ "item": "screwdriver", "prob": 40 },
|
||||
{ "item": "hammer", "prob": 35 },
|
||||
{ "item": "wrench", "prob": 30 },
|
||||
{ "item": "con_mix", "prob": 10 },
|
||||
{ "item": "brick_kiln", "prob": 10 },
|
||||
{ "item": "kiln", "prob": 4 },
|
||||
{ "item": "g_shovel", "prob": 20 },
|
||||
{ "item": "saw", "prob": 15 },
|
||||
{ "item": "circsaw_off", "prob": 5 },
|
||||
{ "item": "hacksaw", "prob": 17 },
|
||||
{ "item": "hammer_sledge", "prob": 2 },
|
||||
{ "item": "hammer_sledge_short", "prob": 2 },
|
||||
{ "item": "hammer_sledge_engineer", "prob": 1 },
|
||||
{ "item": "hammer_sledge_heavy", "prob": 1 },
|
||||
{ "item": "xacto", "prob": 10 },
|
||||
{ "item": "flashlight", "prob": 40, "charges-min": 0 },
|
||||
{ "item": "crowbar", "prob": 18 },
|
||||
{ "item": "halligan", "prob": 1 },
|
||||
{ "item": "fire_ax", "prob": 3 },
|
||||
{ "item": "nailgun", "prob": 12 },
|
||||
@@ -307,37 +247,25 @@
|
||||
{ "item": "bullwhip", "prob": 1 },
|
||||
{ "item": "press", "prob": 5 },
|
||||
{ "item": "puller", "prob": 5 },
|
||||
{ "item": "boltcutters", "prob": 5 },
|
||||
{ "item": "ax", "prob": 8 },
|
||||
{ "item": "tongs", "prob": 3 },
|
||||
{ "item": "chisel", "prob": 2 },
|
||||
{ "item": "swage", "prob": 1 },
|
||||
{ "item": "misc_repairkit", "prob": 5 },
|
||||
{ "item": "tool_belt", "prob": 5 },
|
||||
{ "item": "sheath", "prob": 5 },
|
||||
{ "item": "jumper_cable", "prob": 4 },
|
||||
{ "item": "2x4", "prob": 60 },
|
||||
{ "item": "machete", "prob": 5 },
|
||||
{ "item": "concrete", "prob": 30 },
|
||||
{ "item": "brick", "prob": 25 },
|
||||
{ "item": "rebar", "prob": 25 },
|
||||
{ "item": "boots_steel", "prob": 50 },
|
||||
{ "item": "boots_combat", "prob": 20 },
|
||||
{ "item": "boots_hiking", "prob": 10 },
|
||||
{ "item": "runner_bag", "prob": 5 },
|
||||
{ "item": "hat_hard", "prob": 50 },
|
||||
{ "item": "wearable_light", "prob": 10 },
|
||||
{ "item": "ear_plugs", "prob": 50 },
|
||||
{ "item": "mask_filter", "prob": 30, "charges-min": 10 },
|
||||
{ "item": "glasses_safety", "prob": 40 },
|
||||
{ "item": "bb", "prob": 8 },
|
||||
{ "item": "bbgun", "prob": 10 },
|
||||
{ "item": "beartrap", "prob": 5 },
|
||||
{ "item": "radio", "prob": 20, "charges-min": 0 },
|
||||
{ "item": "hotplate", "prob": 10 },
|
||||
{ "item": "extinguisher", "prob": 20 },
|
||||
{ "item": "nailgun", "prob": 12 },
|
||||
{ "item": "manual_mechanics", "prob": 35 },
|
||||
{ "item": "manual_carpentry", "prob": 10 },
|
||||
{ "item": "carpentry_book", "prob": 5 },
|
||||
{ "item": "manual_fabrication", "prob": 20 },
|
||||
@@ -345,27 +273,13 @@
|
||||
{ "item": "101_carpentry", "prob": 20 },
|
||||
{ "item": "mag_mechanics", "prob": 35 },
|
||||
{ "item": "mag_fabrication", "prob": 12 },
|
||||
{ "item": "duct_tape", "prob": 60 },
|
||||
{ "item": "lawnmower", "prob": 25 },
|
||||
{ "item": "floodlight", "prob": 10 },
|
||||
{ "item": "minifridge", "prob": 5 },
|
||||
{ "item": "minifreezer", "prob": 2 },
|
||||
{ "item": "boltcutters", "prob": 8 },
|
||||
{ "item": "foot_crank", "prob": 10 },
|
||||
{ "item": "cable", "prob": 60 },
|
||||
{ "item": "textbook_mechanics", "prob": 12 },
|
||||
{ "item": "book_icef", "prob": 8 },
|
||||
{ "item": "textbook_fabrication", "prob": 12 },
|
||||
{ "item": "vac_sealer", "prob": 10 },
|
||||
{ "item": "sm_extinguisher", "prob": 10 },
|
||||
{ "item": "fungicide", "prob": 5 },
|
||||
{ "item": "insecticide", "prob": 5 },
|
||||
{ "item": "miner_hat", "prob": 1 },
|
||||
{ "item": "grapnel", "prob": 1 },
|
||||
{ "item": "misc_repairkit", "prob": 5 },
|
||||
{ "item": "tool_belt", "prob": 30 },
|
||||
{ "item": "knitting_needles", "prob": 1 },
|
||||
{ "item": "survnote", "prob": 1 },
|
||||
{ "item": "material_quicklime", "prob": 10 },
|
||||
{ "item": "amplifier", "prob": 8 },
|
||||
{ "item": "mag_electronics", "prob": 15 },
|
||||
@@ -373,17 +287,12 @@
|
||||
{ "group": "ammo_pocket_batteries_full", "prob": 50 },
|
||||
{ "item": "soldering_iron", "prob": 70 },
|
||||
{ "item": "solder_wire", "prob": 70 },
|
||||
{ "item": "solar_cell", "prob": 5 },
|
||||
{ "item": "screwdriver", "prob": 40 },
|
||||
{ "item": "processor", "prob": 15 },
|
||||
{ "item": "RAM", "prob": 22 },
|
||||
{ "item": "mp3", "prob": 18, "charges-min": 0 },
|
||||
{ "item": "portable_game", "prob": 12, "charges-min": 0 },
|
||||
{ "item": "vibrator", "prob": 10, "charges-min": 0 },
|
||||
{ "item": "flashlight", "prob": 40, "charges-min": 0 },
|
||||
{ "item": "radio", "prob": 20, "charges-min": 0 },
|
||||
{ "item": "mess_kit", "prob": 5 },
|
||||
{ "item": "hotplate", "prob": 10 },
|
||||
{ "item": "coffeemaker", "prob": 10 },
|
||||
{ "item": "receiver", "prob": 10 },
|
||||
{ "item": "transponder", "prob": 5 },
|
||||
@@ -391,7 +300,6 @@
|
||||
{ "item": "usb_drive", "prob": 5 },
|
||||
{ "item": "manual_electronics", "prob": 20 },
|
||||
{ "item": "recipe_augs", "prob": 4 },
|
||||
{ "item": "cable", "prob": 60 },
|
||||
{ "item": "vac_sealer", "prob": 10 },
|
||||
{ "item": "cell_phone", "prob": 30, "charges-min": 0 },
|
||||
{ "item": "smart_phone", "prob": 40, "charges-min": 0 },
|
||||
@@ -399,10 +307,8 @@
|
||||
{ "item": "mobile_memory_card", "prob": 40 },
|
||||
{ "item": "camera", "prob": 15, "charges-min": 0 },
|
||||
{ "item": "camera_pro", "prob": 5, "charges-min": 0 },
|
||||
{ "item": "wristwatch", "prob": 15 },
|
||||
{ "group": "toy_radio_car", "prob": 3 },
|
||||
{ "item": "radiocontrol", "prob": 15 },
|
||||
{ "item": "magnifying_glass", "prob": 4 },
|
||||
{ "item": "omnicamera", "prob": 2 }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"type": "furniture",
|
||||
"id": "f_mutpoppy",
|
||||
"copy-from": "f_mutpoppy",
|
||||
"examine_action": "flower_poppy",
|
||||
"name": "poppy bush",
|
||||
"symbol": "f",
|
||||
"color": "light_red",
|
||||
|
||||
@@ -288,7 +288,7 @@
|
||||
"reproduction": { "baby_egg": "egg_albertosaurus", "baby_count": 3, "baby_timer": 24 },
|
||||
"baby_flags": [ "SPRING", "SUMMER" ],
|
||||
"biosignature": { "biosig_item": "feces_bird", "biosig_timer": 3 },
|
||||
"flags": [ "SEES", "SMELLS", "HEARS", "ANIMAL", "PATH_AVOID_DANGER_1", "BASHES", "WARM" ],
|
||||
"flags": [ "SEES", "SMELLS", "HEARS", "ANIMAL", "PATH_AVOID_DANGER_1", "BASHES", "DESTROYS", "WARM", "PUSH_MON" ],
|
||||
"special_attacks": [ [ "GRAB", 7 ], { "type": "bite", "cooldown": 5 }, [ "LUNGE", 10 ] ],
|
||||
"harvest": "dino_large_feather_pred",
|
||||
"anger_triggers": [ "STALK", "PLAYER_WEAK", "HURT" ],
|
||||
|
||||
@@ -279,7 +279,7 @@
|
||||
{ "drop": "kidney", "type": "offal", "mass_ratio": 0.002 },
|
||||
{ "drop": "raw_demihumanleather", "type": "skin", "mass_ratio": 0.02 },
|
||||
{ "drop": "sinew", "type": "bone", "mass_ratio": 0.00035 },
|
||||
{ "drop": "bone", "type": "bone", "mass_ratio": 0.1 }
|
||||
{ "drop": "bone_demihuman", "type": "bone", "mass_ratio": 0.1 }
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -293,7 +293,7 @@
|
||||
{ "drop": "kidney", "type": "offal", "mass_ratio": 0.002 },
|
||||
{ "drop": "raw_demihumanleather", "type": "skin", "mass_ratio": 0.02 },
|
||||
{ "drop": "sinew", "type": "bone", "mass_ratio": 0.00035 },
|
||||
{ "drop": "bone", "type": "bone", "mass_ratio": 0.1025 }
|
||||
{ "drop": "bone_demihuman", "type": "bone", "mass_ratio": 0.1025 }
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -307,7 +307,7 @@
|
||||
{ "drop": "kidney", "type": "offal", "mass_ratio": 0.002 },
|
||||
{ "drop": "raw_demihumanleather", "type": "skin", "mass_ratio": 0.02 },
|
||||
{ "drop": "sinew", "type": "bone", "mass_ratio": 0.00035 },
|
||||
{ "drop": "bone", "type": "bone", "mass_ratio": 0.1 }
|
||||
{ "drop": "bone_demihuman", "type": "bone", "mass_ratio": 0.1 }
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
@@ -10,7 +10,8 @@
|
||||
[ "human_flesh", 1 ],
|
||||
[ "mutant_human_flesh", 1 ],
|
||||
[ "purified_meat", 1 ],
|
||||
[ "impure_meat", 1 ]
|
||||
[ "impure_meat", 1 ],
|
||||
[ "demihuman_flesh", 1 ]
|
||||
]
|
||||
]
|
||||
}
|
||||
|
||||
@@ -832,7 +832,7 @@ When you sort your inventory by category, these are the categories that are disp
|
||||
| `freeze_point` | Freezing point of this material (F). Default 32 F ( 0 C ).
|
||||
| `edible` | Optional boolean. Default is false.
|
||||
| `rotting` | Optional boolean. Default is false.
|
||||
| `soft` | Optional boolean. Default is false.
|
||||
| `soft` | True for pliable materials, whose length doesn't prevent fitting into a container, or through the opening of a container. Default is false.
|
||||
| `reinforces` | Optional boolean. Default is false.
|
||||
|
||||
There are seven -resist parameters: acid, bash, chip, cut, elec, fire, and bullet. These are integer values; the default is 0 and they can be negative to take more damage.
|
||||
|
||||
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 4.6 KiB |
|
Before Width: | Height: | Size: 250 KiB After Width: | Height: | Size: 252 KiB |
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.8 KiB |
|
Before Width: | Height: | Size: 152 KiB After Width: | Height: | Size: 155 KiB |
|
Before Width: | Height: | Size: 193 KiB After Width: | Height: | Size: 193 KiB |
|
Before Width: | Height: | Size: 336 KiB After Width: | Height: | Size: 335 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 59 KiB |
|
Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 87 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 225 KiB After Width: | Height: | Size: 224 KiB |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 73 KiB After Width: | Height: | Size: 85 KiB |
|
Before Width: | Height: | Size: 723 KiB After Width: | Height: | Size: 811 KiB |
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 69 KiB |
|
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 53 KiB |
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 35 KiB |
@@ -0,0 +1,4 @@
|
||||
List of previous contributors:
|
||||
|
||||
Sir Hoder, Tsu's, Waldo, Coleen, Deon, Blockhead, Arex, Mshock, egomassive, Ragamer, ChunkofMeat,
|
||||
Ruxe, Oakforce, Xotto, Chezzo, Arkenstone1, SomeDeadGuy, budg3
|
||||
|
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 7.0 KiB |
|
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 4.7 KiB |
|
Before Width: | Height: | Size: 562 KiB After Width: | Height: | Size: 576 KiB |
|
After Width: | Height: | Size: 102 KiB |
|
After Width: | Height: | Size: 5.5 KiB |
|
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 51 KiB |
|
Before Width: | Height: | Size: 2.2 MiB After Width: | Height: | Size: 2.5 MiB |
|
After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 88 KiB After Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 91 KiB After Width: | Height: | Size: 96 KiB |
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"overlay_ordering": [
|
||||
{ "id": "THRESH_MARLOSS", "order": 400 },
|
||||
{ "id": [ "bio_armor_legs", "bio_armor_torso", "bio_armor_arms" ], "order": 500 },
|
||||
{ "id": "bio_armor_head", "order": 505 },
|
||||
{ "id": "bio_blaster", "order": 510 },
|
||||
{ "id": "bio_deformity", "order": 515 },
|
||||
{ "id": [ "active_bio_blindfold", "active_bio_scent_vision" ], "order": 520 },
|
||||
{ "id": "active_bio_night_vision", "order": 521 },
|
||||
{ "id": "active_bio_infrared", "order": 522 },
|
||||
{
|
||||
"id": [
|
||||
"THRESH_ALPHA",
|
||||
"THRESH_CHIMERA",
|
||||
"THRESH_BEAST",
|
||||
"THRESH_URSINE",
|
||||
"THRESH_FELINE",
|
||||
"THRESH_LUPINE",
|
||||
"THRESH_CATTLE",
|
||||
"THRESH_RAT",
|
||||
"THRESH_MOUSE",
|
||||
"THRESH_TROGLOBITE",
|
||||
"THRESH_BIRD",
|
||||
"THRESH_RAPTOR",
|
||||
"THRESH_LIZARD",
|
||||
"THRESH_FISH",
|
||||
"THRESH_CEPHALOPOD",
|
||||
"THRESH_SPIDER",
|
||||
"THRESH_INSECT",
|
||||
"THRESH_PLANT",
|
||||
"THRESH_MYCUS",
|
||||
"THRESH_SLIME"
|
||||
],
|
||||
"order": 5000
|
||||
},
|
||||
{ "id": [ "BENDY1", "BENDY2", "BENDY3" ], "order": 5100 },
|
||||
{ "id": [ "AMORPHOUS", "INT_UP_4", "FLOWERS", "ROSEBUDS" ], "order": 5200 },
|
||||
{ "id": [ "PER_SLIME", "THRESH_ELFA" ], "order": 5300 },
|
||||
{ "id": "PER_SLIME_OK", "order": 5400 }
|
||||
]
|
||||
}
|
||||
|
Before Width: | Height: | Size: 72 KiB After Width: | Height: | Size: 74 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 59 KiB |
|
Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 87 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 137 KiB |
|
Before Width: | Height: | Size: 229 KiB After Width: | Height: | Size: 228 KiB |
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 97 KiB |
|
Before Width: | Height: | Size: 724 KiB After Width: | Height: | Size: 815 KiB |
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 69 KiB |
|
Before Width: | Height: | Size: 283 KiB After Width: | Height: | Size: 167 KiB |
@@ -1254,6 +1254,15 @@ def extract(item, infilename):
|
||||
writestr(outfile, cname["name"], comment=c,
|
||||
format_strings=True, pl_fmt=True, **kwargs)
|
||||
wrote = True
|
||||
if "death_function" in item:
|
||||
if "message" in item["death_function"]:
|
||||
if singular_name:
|
||||
c = "Death function message for {}".format(singular_name)
|
||||
else:
|
||||
c = None
|
||||
writestr(outfile, item["death_function"]["message"],
|
||||
comment=c, **kwargs)
|
||||
wrote = True
|
||||
if "description" in item:
|
||||
if name:
|
||||
c = "Description for {}".format(singular_name)
|
||||
|
||||
@@ -648,7 +648,7 @@ bool can_examine_at( const tripoint &p )
|
||||
if( here.has_flag( flag_CONSOLE, p ) ) {
|
||||
return true;
|
||||
}
|
||||
if( here.has_items( p ) ) {
|
||||
if( !here.has_flag( TFLAG_SEALED, p ) && here.has_items( p ) ) {
|
||||
return true;
|
||||
}
|
||||
const furn_t &xfurn_t = here.furn( p ).obj();
|
||||
@@ -677,7 +677,7 @@ static bool can_pickup_at( const tripoint &p )
|
||||
const int cargo_part = vp->vehicle().part_with_feature( vp->part_index(), "CARGO", false );
|
||||
veh_has_items = cargo_part >= 0 && !vp->vehicle().get_items( cargo_part ).empty();
|
||||
}
|
||||
return here.has_items( p ) || veh_has_items;
|
||||
return ( !here.has_flag( TFLAG_SEALED, p ) && here.has_items( p ) ) || veh_has_items;
|
||||
}
|
||||
|
||||
bool can_interact_at( action_id action, const tripoint &p )
|
||||
@@ -1114,8 +1114,7 @@ cata::optional<tripoint> choose_adjacent_highlight( const std::string &message,
|
||||
if( !valid.empty() ) {
|
||||
hilite_cb = make_shared_fast<game::draw_callback_t>( [&]() {
|
||||
for( const tripoint &pos : valid ) {
|
||||
here.drawsq( g->w_terrain, player_character, pos,
|
||||
true, true, player_character.pos() + player_character.view_offset );
|
||||
here.drawsq( g->w_terrain, pos, drawsq_params().highlight( true ) );
|
||||
}
|
||||
} );
|
||||
g->add_draw_callback( hilite_cb );
|
||||
|
||||
@@ -72,6 +72,10 @@ std::vector<item_reference> active_item_cache::get()
|
||||
std::vector<item_reference> active_item_cache::get_for_processing()
|
||||
{
|
||||
std::vector<item_reference> items_to_process;
|
||||
items_to_process.reserve( std::accumulate( active_items.begin(), active_items.end(), 0,
|
||||
[]( size_t prev, const auto & kv ) {
|
||||
return prev + kv.second.size() / kv.first;
|
||||
} ) );
|
||||
for( std::pair<const int, std::list<item_reference>> &kv : active_items ) {
|
||||
// Rely on iteration logic to make sure the number is sane.
|
||||
int num_to_process = kv.second.size() / kv.first;
|
||||
|
||||
@@ -360,47 +360,52 @@ void aim_activity_actor::unload_RAS_weapon()
|
||||
void autodrive_activity_actor::start( player_activity &act, Character &who )
|
||||
{
|
||||
const bool in_vehicle = who.in_vehicle && who.controlling_vehicle;
|
||||
const map &here = get_map();
|
||||
const optional_vpart_position vp = here.veh_at( who.pos() );
|
||||
const optional_vpart_position vp = get_map().veh_at( who.pos() );
|
||||
if( !( vp && in_vehicle ) ) {
|
||||
who.cancel_activity();
|
||||
return;
|
||||
}
|
||||
|
||||
player_vehicle = &vp->vehicle();
|
||||
player_vehicle->is_autodriving = true;
|
||||
act.moves_left = calendar::INDEFINITELY_LONG;
|
||||
who.moves = 0;
|
||||
}
|
||||
|
||||
void autodrive_activity_actor::do_turn( player_activity &act, Character &who )
|
||||
{
|
||||
if( who.in_vehicle && who.controlling_vehicle && player_vehicle && player_vehicle->is_autodriving &&
|
||||
!who.omt_path.empty() && !player_vehicle->omt_path.empty() ) {
|
||||
player_vehicle->do_autodrive();
|
||||
if( who.global_omt_location() == who.omt_path.back() ) {
|
||||
who.omt_path.pop_back();
|
||||
if( who.in_vehicle && who.controlling_vehicle && player_vehicle ) {
|
||||
if( who.moves <= 0 ) {
|
||||
// out of moves? the driver's not doing anything this turn
|
||||
// (but the vehicle will continue moving)
|
||||
return;
|
||||
}
|
||||
switch( player_vehicle->do_autodrive( who ) ) {
|
||||
case autodrive_result::ok:
|
||||
if( who.moves > 0 ) {
|
||||
// if do_autodrive() didn't eat up all our moves, end the turn
|
||||
// equivalent to player pressing the "pause" button
|
||||
who.moves = 0;
|
||||
}
|
||||
sounds::reset_markers();
|
||||
break;
|
||||
case autodrive_result::abort:
|
||||
who.cancel_activity();
|
||||
break;
|
||||
case autodrive_result::finished:
|
||||
act.moves_left = 0;
|
||||
break;
|
||||
}
|
||||
who.moves = 0;
|
||||
} else {
|
||||
who.cancel_activity();
|
||||
return;
|
||||
}
|
||||
if( player_vehicle->omt_path.empty() ) {
|
||||
act.moves_left = 0;
|
||||
}
|
||||
}
|
||||
|
||||
void autodrive_activity_actor::canceled( player_activity &act, Character &who )
|
||||
{
|
||||
who.add_msg_if_player( m_info, _( "Auto-drive canceled." ) );
|
||||
if( player_vehicle && !player_vehicle->omt_path.empty() ) {
|
||||
player_vehicle->omt_path.clear();
|
||||
}
|
||||
if( !who.omt_path.empty() ) {
|
||||
who.omt_path.clear();
|
||||
}
|
||||
who.omt_path.clear();
|
||||
if( player_vehicle ) {
|
||||
player_vehicle->is_autodriving = false;
|
||||
player_vehicle->stop_autodriving( false );
|
||||
}
|
||||
act.set_to_null();
|
||||
}
|
||||
@@ -408,7 +413,7 @@ void autodrive_activity_actor::canceled( player_activity &act, Character &who )
|
||||
void autodrive_activity_actor::finish( player_activity &act, Character &who )
|
||||
{
|
||||
who.add_msg_if_player( m_info, _( "You have reached your destination." ) );
|
||||
player_vehicle->is_autodriving = false;
|
||||
player_vehicle->stop_autodriving( false );
|
||||
act.set_to_null();
|
||||
}
|
||||
|
||||
|
||||
@@ -1513,11 +1513,24 @@ void activity_handlers::fill_liquid_do_turn( player_activity *act, player *p )
|
||||
}
|
||||
|
||||
// 2. Transfer charges.
|
||||
const vehicle *veh = nullptr;
|
||||
size_t part;
|
||||
switch( static_cast<liquid_target_type>( act_ref.values.at( 2 ) ) ) {
|
||||
case liquid_target_type::VEHICLE: {
|
||||
const optional_vpart_position vp = here.veh_at( act_ref.coords.at( 1 ) );
|
||||
if( act_ref.values.size() > 4 && vp ) {
|
||||
const vpart_reference vpr( vp->vehicle(), act_ref.values.at( 4 ) );
|
||||
veh = &vp->vehicle();
|
||||
part = act_ref.values.at( 4 );
|
||||
std::function<bool( const vehicle_part & )> not_same_part = [&]( const vehicle_part & pa ) {
|
||||
return &( veh->cpart( part ) ) != &pa;
|
||||
};
|
||||
if( source_veh &&
|
||||
source_veh->fuel_left( liquid.typeId(), false,
|
||||
( veh ? not_same_part : return_true<const vehicle_part &> ) ) <= 0 ) {
|
||||
act_ref.set_to_null();
|
||||
return;
|
||||
}
|
||||
p->pour_into( vpr, liquid );
|
||||
} else {
|
||||
throw std::runtime_error( "could not find target vehicle for liquid transfer" );
|
||||
@@ -1567,10 +1580,11 @@ void activity_handlers::fill_liquid_do_turn( player_activity *act, player *p )
|
||||
act_ref.str_values.at( 0 ) = serialize( liquid );
|
||||
}
|
||||
} else {
|
||||
source_veh->drain( liquid.typeId(), removed_charges );
|
||||
}
|
||||
if( source_veh->fuel_left( liquid.typeId() ) <= 0 ) {
|
||||
act_ref.set_to_null();
|
||||
std::function<bool( vehicle_part & )> not_same_part = [&]( vehicle_part & pa ) {
|
||||
return &( veh->cpart( part ) ) != &pa;
|
||||
};
|
||||
source_veh->drain( liquid.typeId(), removed_charges,
|
||||
( veh ? not_same_part : return_true<vehicle_part &> ) );
|
||||
}
|
||||
break;
|
||||
case liquid_source_type::MAP_ITEM:
|
||||
@@ -2906,11 +2920,20 @@ void activity_handlers::travel_do_turn( player_activity *act, player *p )
|
||||
act->set_to_null();
|
||||
return;
|
||||
}
|
||||
const tripoint_abs_omt next_omt = p->omt_path.back();
|
||||
tripoint_abs_ms waypoint;
|
||||
if( p->omt_path.size() == 1 ) {
|
||||
// if next omt is the final one, target its midpoint
|
||||
waypoint = midpoint( project_bounds<coords::ms>( next_omt ) );
|
||||
} else {
|
||||
// otherwise target the middle of the edge nearest to our current location
|
||||
const tripoint_abs_ms cur_omt_mid = midpoint( project_bounds<coords::ms>
|
||||
( p->global_omt_location() ) );
|
||||
waypoint = clamp( cur_omt_mid, project_bounds<coords::ms>( next_omt ) );
|
||||
}
|
||||
map &here = get_map();
|
||||
// TODO: fix point types
|
||||
tripoint sm_tri = here.getlocal(
|
||||
project_to<coords::ms>( p->omt_path.back() ).raw() );
|
||||
tripoint centre_sub = sm_tri + point( SEEX, SEEY );
|
||||
tripoint centre_sub = here.getlocal( waypoint.raw() );
|
||||
if( !here.passable( centre_sub ) ) {
|
||||
tripoint_range<tripoint> candidates = here.points_in_radius( centre_sub, 2 );
|
||||
for( const tripoint &elem : candidates ) {
|
||||
|
||||