Skip to content

Commit

Permalink
Merge branch '0.D-branch'
Browse files Browse the repository at this point in the history
* 0.D-branch:
  Fix sleep deprivation messages triggering for NPCs
  Don't unequip holsters on wielding from them
  Add scaling factor option
  Remove all the problematic group spawn entries.
  • Loading branch information
kevingranade committed Feb 24, 2019
2 parents bf99f81 + c5d1def commit f07c447
Show file tree
Hide file tree
Showing 26 changed files with 439 additions and 668 deletions.
14 changes: 4 additions & 10 deletions data/json/items/biosignatures.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
"volume": 1,
"charges": 4,
"stack_size": 4,
"fun": -25,
"rot_spawn": "GROUP_BIOSIG_BIRD",
"rot_spawn_chance": 5
"fun": -25
},
{
"type": "COMESTIBLE",
Expand All @@ -29,9 +27,7 @@
"copy-from": "feces_bird",
"weight": 750,
"volume": 4,
"description": "A fresh cow pie, could probably be used to make some great fertilizer.",
"rot_spawn": "GROUP_BIOSIG_LARGE_HERBIVORE",
"rot_spawn_chance": 2
"description": "A fresh cow pie, could probably be used to make some great fertilizer."
},
{
"type": "COMESTIBLE",
Expand All @@ -47,15 +43,13 @@
"copy-from": "feces_bird",
"weight": 250,
"volume": 2,
"description": "Common manure, could probably be used to make some great fertilizer.",
"rot_spawn": "GROUP_BIOSIG_LARGE_HERBIVORE"
"description": "Common manure, could probably be used to make some great fertilizer."
},
{
"type": "COMESTIBLE",
"id": "feces_roach",
"name": "roach dirt",
"copy-from": "feces_bird",
"description": "Large black pellets of rotting material.",
"rot_spawn": "GROUP_BIOSIG_ROACH"
"description": "Large black pellets of rotting material."
}
]
24 changes: 8 additions & 16 deletions data/json/items/comestibles/bread.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@
"volume": 3,
"charges": 8,
"flags": [ "EATEN_HOT" ],
"fun": 2,
"rot_spawn": "GROUP_ROTTING_PLANT"
"fun": 2
},
{
"type": "COMESTIBLE",
Expand All @@ -97,8 +96,7 @@
"price": 23,
"material": "wheat",
"volume": 1,
"flags": [ "EATEN_HOT", "EDIBLE_FROZEN" ],
"rot_spawn": "GROUP_ROTTING_PLANT"
"flags": [ "EATEN_HOT", "EDIBLE_FROZEN" ]
},
{
"type": "COMESTIBLE",
Expand All @@ -119,8 +117,7 @@
"charges": 2,
"flags": [ "EATEN_HOT" ],
"fun": 1,
"vitamins": [ [ "calcium", 4 ], [ "iron", 2 ] ],
"rot_spawn": "GROUP_ROTTING_PLANT"
"vitamins": [ [ "calcium", 4 ], [ "iron", 2 ] ]
},
{
"type": "COMESTIBLE",
Expand All @@ -141,8 +138,7 @@
"charges": 2,
"flags": [ "EATEN_HOT" ],
"fun": 2,
"vitamins": [ [ "calcium", 2 ], [ "iron", 1 ] ],
"rot_spawn": "GROUP_ROTTING_PLANT"
"vitamins": [ [ "calcium", 2 ], [ "iron", 1 ] ]
},
{
"type": "COMESTIBLE",
Expand All @@ -162,8 +158,7 @@
"charges": 2,
"flags": [ "EATEN_HOT" ],
"fun": 2,
"vitamins": [ [ "calcium", 1 ], [ "iron", 2 ] ],
"rot_spawn": "GROUP_ROTTING_PLANT"
"vitamins": [ [ "calcium", 1 ], [ "iron", 2 ] ]
},
{
"type": "COMESTIBLE",
Expand All @@ -183,8 +178,7 @@
"volume": 1,
"charges": 2,
"flags": [ "EATEN_HOT", "EDIBLE_FROZEN" ],
"fun": 1,
"rot_spawn": "GROUP_ROTTING_PLANT"
"fun": 1
},
{
"type": "COMESTIBLE",
Expand Down Expand Up @@ -226,8 +220,7 @@
"charges": 2,
"flags": [ "EATEN_HOT", "EDIBLE_FROZEN" ],
"fun": 1,
"vitamins": [ [ "calcium", 3 ], [ "iron", 3 ] ],
"rot_spawn": "GROUP_ROTTING_PLANT"
"vitamins": [ [ "calcium", 3 ], [ "iron", 3 ] ]
},
{
"type": "COMESTIBLE",
Expand All @@ -250,7 +243,6 @@
"flags": [ "EATEN_HOT" ],
"fun": -1,
"vitamins": [ [ "calcium", 3 ] ],
"//": "this item will generally inherit its values, so it is essentially a copy of bread",
"rot_spawn": "GROUP_ROTTING_PLANT"
"//": "this item will generally inherit its values, so it is essentially a copy of bread"
}
]
39 changes: 11 additions & 28 deletions data/json/items/comestibles/carnivore.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
"symbol": "%",
"color": "red",
"parasites": 32,
"vitamins": [ ],
"rot_spawn": "GROUP_CARRION"
"vitamins": [ ]
},
{
"id": "fish",
Expand Down Expand Up @@ -129,9 +128,7 @@
"health": -25,
"fun": -25,
"use_action": "POISON",
"vitamins": [ ],
"rot_spawn": "GROUP_CARRION",
"rot_spawn_chance": 101
"vitamins": [ ]
},
{
"id": "meat_cooked",
Expand Down Expand Up @@ -511,9 +508,7 @@
"material": "flesh",
"volume": 1,
"stack_size": 1,
"fun": -20,
"rot_spawn": "GROUP_CARRION",
"rot_spawn_chance": 15
"fun": -20
},
{
"type": "COMESTIBLE",
Expand Down Expand Up @@ -563,9 +558,7 @@
"volume": 1,
"fun": -10,
"flags": [ "TRADER_AVOID", "SMOKABLE" ],
"smoking_result": "dry_meat_tainted",
"rot_spawn": "GROUP_CARRION_INFECTED",
"rot_spawn_chance": 15
"smoking_result": "dry_meat_tainted"
},
{
"type": "COMESTIBLE",
Expand Down Expand Up @@ -612,9 +605,7 @@
"//": "Not for use in edible recipes, and should require ~200% as much as normal for applicable inedible recipes.",
"material": "flesh",
"volume": 1,
"fun": -10,
"rot_spawn": "GROUP_CARRION_INFECTED",
"rot_spawn_chance": 15
"fun": -10
},
{
"type": "COMESTIBLE",
Expand Down Expand Up @@ -653,9 +644,7 @@
"material": "flesh",
"volume": 1,
"flags": [ "EATEN_HOT" ],
"fun": -5,
"rot_spawn": "GROUP_CARRION",
"rot_spawn_chance": 15
"fun": -5
},
{
"type": "COMESTIBLE",
Expand All @@ -680,9 +669,7 @@
"material": "flesh",
"volume": 1,
"flags": [ "EATEN_HOT" ],
"fun": -3,
"rot_spawn": "GROUP_CARRION",
"rot_spawn_chance": 12
"fun": -3
},
{
"type": "COMESTIBLE",
Expand Down Expand Up @@ -711,8 +698,7 @@
"flags": "TRADER_AVOID",
"volume": "25ml",
"stack_size": 1,
"fun": -12,
"rot_spawn": "GROUP_CARRION"
"fun": -12
},
{
"type": "COMESTIBLE",
Expand All @@ -722,8 +708,7 @@
"spoils_in": "6 hours",
"use_action": "POISON",
"description": "A carefully folded poisonous raw skin harvested from an unnatural creature. You can cure it for storage and tanning.",
"price": 0,
"rot_spawn": "GROUP_CARRION_INFECTED"
"price": 0
},
{
"type": "COMESTIBLE",
Expand Down Expand Up @@ -752,8 +737,7 @@
"flags": [ "NO_SALVAGE", "TRADER_AVOID" ],
"volume": "25ml",
"stack_size": 1,
"fun": -24,
"rot_spawn": "GROUP_CARRION"
"fun": -24
},
{
"type": "COMESTIBLE",
Expand All @@ -764,8 +748,7 @@
"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,
"flags": [ "NO_SALVAGE" ],
"rot_spawn": "GROUP_CARRION_INFECTED"
"flags": [ "NO_SALVAGE" ]
},
{
"type": "COMESTIBLE",
Expand Down
12 changes: 4 additions & 8 deletions data/json/items/comestibles/dairy.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
"phase": "liquid",
"flags": [ "FREEZERBURN" ],
"fun": 15,
"vitamins": [ [ "calcium", 8 ] ],
"rot_spawn": "GROUP_CARRION"
"vitamins": [ [ "calcium", 8 ] ]
},
{
"type": "COMESTIBLE",
Expand All @@ -38,8 +37,7 @@
"phase": "liquid",
"fun": 20,
"flags": [ "FREEZERBURN" ],
"vitamins": [ [ "calcium", 2 ] ],
"rot_spawn": "GROUP_CARRION"
"vitamins": [ [ "calcium", 2 ] ]
},
{
"type": "COMESTIBLE",
Expand Down Expand Up @@ -101,8 +99,7 @@
"volume": 1,
"charges": 8,
"fun": 7,
"vitamins": [ [ "vitA", 1 ], [ "calcium", 3 ] ],
"rot_spawn": "GROUP_CARRION"
"vitamins": [ [ "vitA", 1 ], [ "calcium", 3 ] ]
},
{
"type": "COMESTIBLE",
Expand All @@ -123,8 +120,7 @@
"charges": 2,
"flags": [ "EATEN_HOT" ],
"fun": 6,
"vitamins": [ [ "vitA", 2 ], [ "calcium", 7 ], [ "iron", 2 ] ],
"rot_spawn": "GROUP_CARRION"
"vitamins": [ [ "vitA", 2 ], [ "calcium", 7 ], [ "iron", 2 ] ]
},
{
"type": "COMESTIBLE",
Expand Down
3 changes: 1 addition & 2 deletions data/json/items/comestibles/drink_other.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
"charges": 8,
"phase": "liquid",
"flags": [ "EATEN_HOT" ],
"fun": 1,
"rot_spawn": "GROUP_ROTTING_PLANT"
"fun": 1
},
{
"id": "maple_sap",
Expand Down
13 changes: 4 additions & 9 deletions data/json/items/comestibles/egg.json
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,7 @@
"volume": "25 ml",
"stack_size": 4,
"fun": 1,
"vitamins": [ [ "vitC", 1 ], [ "vitB", 24 ] ],
"rot_spawn": "GROUP_CARRION",
"rot_spawn_chance": 20
"vitamins": [ [ "vitC", 1 ], [ "vitB", 24 ] ]
},
{
"type": "COMESTIBLE",
Expand Down Expand Up @@ -264,8 +262,7 @@
"volume": "125 ml",
"charges": 2,
"flags": [ "EATEN_HOT", "FREEZERBURN" ],
"fun": 3,
"rot_spawn": "GROUP_CARRION"
"fun": 3
},
{
"type": "COMESTIBLE",
Expand All @@ -280,8 +277,7 @@
"price": 95,
"material": "egg",
"fun": 2,
"flags": [ "FREEZERBURN" ],
"rot_spawn": "GROUP_CARRION"
"flags": [ "FREEZERBURN" ]
},
{
"type": "COMESTIBLE",
Expand All @@ -295,7 +291,6 @@
"description": "A pickled egg. Rather salty, but tastes good and lasts for a long time.",
"price": 95,
"material": "egg",
"fun": 2,
"rot_spawn": "GROUP_CARRION"
"fun": 2
}
]
15 changes: 5 additions & 10 deletions data/json/items/comestibles/fruit_dishes.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@
"material": "fruit",
"volume": 1,
"fun": 5,
"vitamins": [ [ "vitA", 1 ], [ "vitC", 2 ], [ "iron", 1 ] ],
"rot_spawn": "GROUP_ROTTING_PLANT"
"vitamins": [ [ "vitA", 1 ], [ "vitC", 2 ], [ "iron", 1 ] ]
},
{
"type": "COMESTIBLE",
Expand All @@ -95,8 +94,7 @@
"material": "fruit",
"volume": 1,
"fun": 7,
"vitamins": [ [ "vitC", 5 ], [ "calcium", 1 ], [ "iron", 1 ] ],
"rot_spawn": "GROUP_ROTTING_PLANT"
"vitamins": [ [ "vitC", 5 ], [ "calcium", 1 ], [ "iron", 1 ] ]
},
{
"type": "COMESTIBLE",
Expand Down Expand Up @@ -198,8 +196,7 @@
"price": 900,
"material": "fruit",
"volume": 1,
"fun": 4,
"rot_spawn": "GROUP_ROTTING_PLANT"
"fun": 4
},
{
"type": "COMESTIBLE",
Expand All @@ -220,8 +217,7 @@
"volume": 1,
"charges": 4,
"fun": 3,
"vitamins": [ [ "iron", 2 ] ],
"rot_spawn": "GROUP_ROTTING_PLANT"
"vitamins": [ [ "iron", 2 ] ]
},
{
"type": "COMESTIBLE",
Expand All @@ -243,7 +239,6 @@
"volume": 1,
"stack_size": 2,
"fun": 1,
"vitamins": [ [ "iron", 2 ] ],
"rot_spawn": "GROUP_ROTTING_PLANT"
"vitamins": [ [ "iron", 2 ] ]
}
]
Loading

0 comments on commit f07c447

Please sign in to comment.