Skip to content

Commit

Permalink
Merge branch 'CleverRaven:master' into fae-harvest-changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Standing-Storm authored Mar 12, 2024
2 parents 8929667 + 479e703 commit 909b857
Show file tree
Hide file tree
Showing 171 changed files with 14,718 additions and 7,339 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -956,6 +956,7 @@ SOURCES += $(THIRD_PARTY_SOURCES)
IMGUI_SOURCES = $(IMGUI_DIR)/imgui.cpp $(IMGUI_DIR)/imgui_demo.cpp $(IMGUI_DIR)/imgui_draw.cpp $(IMGUI_DIR)/imgui_tables.cpp $(IMGUI_DIR)/imgui_widgets.cpp

ifeq ($(SDL), 1)
OTHERS += -DIMGUI_DISABLE_OBSOLETE_KEYIO
IMGUI_SOURCES += $(IMGUI_DIR)/imgui_impl_sdl2.cpp $(IMGUI_DIR)/imgui_impl_sdlrenderer2.cpp
else
IMGUI_SOURCES += $(IMTUI_DIR)/imtui-impl-ncurses.cpp $(IMTUI_DIR)/imtui-impl-text.cpp
Expand Down
26 changes: 13 additions & 13 deletions data/json/construction.json
Original file line number Diff line number Diff line change
Expand Up @@ -1589,7 +1589,7 @@
"required_skills": [ [ "fabrication", 2 ] ],
"time": "50 m",
"qualities": [ [ { "id": "HAMMER", "level": 2 } ], [ { "id": "SAW_W", "level": 2 } ] ],
"components": [ [ [ "2x4", 10 ], [ "wood_panel", 1 ] ], [ [ "nails", 20, "LIST" ] ] ],
"components": [ [ [ "2x4", 5 ] ], [ [ "wood_panel", 1 ] ], [ [ "nails", 20, "LIST" ] ] ],
"pre_special": "check_empty",
"post_terrain": "t_ponywall"
},
Expand Down Expand Up @@ -1897,7 +1897,7 @@
"category": "CONSTRUCT",
"required_skills": [ [ "fabrication", 3 ] ],
"time": "30 m",
"tools": [ [ [ "pickaxe", -1 ], [ "bronze_pickaxe", -1 ], [ "jackhammer", 50 ], [ "elec_jackhammer", 660 ] ] ],
"tools": [ [ [ "pickaxe_list", 1, "LIST" ], [ "jackhammer", 50 ], [ "elec_jackhammer", 660 ] ] ],
"pre_terrain": "t_brick_wall",
"post_terrain": "t_embrasure_brick"
},
Expand Down Expand Up @@ -1926,7 +1926,7 @@
"category": "CONSTRUCT",
"required_skills": [ [ "fabrication", 3 ] ],
"time": "30 m",
"tools": [ [ [ "pickaxe", -1 ], [ "bronze_pickaxe", -1 ], [ "jackhammer", 50 ], [ "elec_jackhammer", 660 ] ] ],
"tools": [ [ [ "pickaxe_list", 1, "LIST" ], [ "jackhammer", 50 ], [ "elec_jackhammer", 660 ] ] ],
"pre_terrain": "t_adobe_brick_wall",
"post_terrain": "t_embrasure_adobe_brick"
},
Expand Down Expand Up @@ -4768,8 +4768,8 @@
[ { "id": "DIG", "level": 2 } ]
],
"tools": [
[ [ "pickaxe", -1 ], [ "bronze_pickaxe", -1 ], [ "jackhammer", 140 ], [ "elec_jackhammer", 1848 ] ],
[ [ "rope_natural", 1, "LIST" ] ]
[ [ "pickaxe_list", 1, "LIST" ], [ "jackhammer", 140 ], [ "elec_jackhammer", 1848 ] ],
[ [ "tool_rope_long", 1, "LIST" ] ]
],
"components": [ [ [ "2x4", 18 ] ], [ [ "wood_beam", 2 ] ], [ [ "nails", 90, "LIST" ], [ "nuts_bolts", 90 ] ] ],
"byproducts": [ { "group": "digging_soil_loam_50L", "count": 40 } ],
Expand All @@ -4792,8 +4792,8 @@
[ { "id": "DIG", "level": 2 } ]
],
"tools": [
[ [ "pickaxe", -1 ], [ "bronze_pickaxe", -1 ], [ "jackhammer", 160 ], [ "elec_jackhammer", 2112 ] ],
[ [ "rope_natural", 1, "LIST" ] ]
[ [ "pickaxe_list", 1, "LIST" ], [ "jackhammer", 160 ], [ "elec_jackhammer", 2112 ] ],
[ [ "tool_rope_long", 1, "LIST" ] ]
],
"components": [ [ [ "2x4", 18 ] ], [ [ "wood_beam", 2 ] ], [ [ "nails", 90, "LIST" ], [ "nuts_bolts", 90 ] ] ],
"byproducts": [ { "group": "mining_rock" } ],
Expand All @@ -4809,7 +4809,7 @@
"category": "DIG",
"required_skills": [ [ "fabrication", 0 ] ],
"time": "70 m",
"tools": [ [ [ "pickaxe", -1 ], [ "bronze_pickaxe", -1 ] ] ],
"tools": [ [ [ "pickaxe_list", 1, "LIST" ] ] ],
"activity_level": "EXTRA_EXERCISE",
"pre_terrain": "t_wall_resin_cage",
"post_terrain": "t_floor_resin",
Expand Down Expand Up @@ -4884,7 +4884,8 @@
[ { "id": "DIG", "level": 2 } ]
],
"tools": [
[ [ "pickaxe", -1 ], [ "bronze_pickaxe", -1 ], [ "jackhammer", 160 ], [ "elec_jackhammer", 2112 ] ],
[ [ "pickaxe_list", 1, "LIST" ], [ "jackhammer", 160 ], [ "elec_jackhammer", 2112 ] ],
[ [ "tool_rope_long", 1, "LIST" ] ],
[
"miner_hat",
"hat_hard",
Expand All @@ -4894,8 +4895,7 @@
"helmet_riot",
"tac_helmet",
"miner_hat_on"
],
[ [ "rope_natural", 1, "LIST" ] ]
]
],
"//": "Helmets are essential because you're digging up and things may fall on you.",
"components": [ [ [ "2x4", 18 ] ], [ [ "wood_beam", 2 ] ], [ [ "nails", 90, "LIST" ], [ "nuts_bolts", 90 ] ] ],
Expand Down Expand Up @@ -6906,7 +6906,7 @@
"qualities": [ [ { "id": "DIG", "level": 2 } ] ],
"required_skills": [ [ "survival", 3 ] ],
"time": "300 m",
"tools": [ [ [ "pickaxe", -1 ], [ "bronze_pickaxe", -1 ], [ "jackhammer", 140 ], [ "elec_jackhammer", 1848 ] ] ],
"tools": [ [ [ "pickaxe_list", 1, "LIST" ], [ "jackhammer", 140 ], [ "elec_jackhammer", 1848 ] ] ],
"byproducts": [ { "group": "mining_rock" } ],
"pre_terrain": "t_rock_floor",
"post_terrain": "t_pit",
Expand Down Expand Up @@ -7748,7 +7748,7 @@
"components": [ [ [ "2x4", 4 ] ], [ [ "nails", 16, "LIST" ] ] ],
"pre_terrain": "t_rock_roof",
"post_terrain": "t_skylight_frame",
"tools": [ [ [ "pickaxe", -1 ], [ "bronze_pickaxe", -1 ], [ "jackhammer", 50 ], [ "elec_jackhammer", 660 ] ] ]
"tools": [ [ [ "pickaxe_list", 1, "LIST" ], [ "jackhammer", 50 ], [ "elec_jackhammer", 660 ] ] ]
},
{
"type": "construction",
Expand Down
31 changes: 5 additions & 26 deletions data/json/effects.json
Original file line number Diff line number Diff line change
Expand Up @@ -2035,47 +2035,26 @@
"id": "boomered",
"name": [ "Boomered" ],
"desc": [ "Your vision is obscured by a disgusting splatter of bile." ],
"apply_message": "Bile gets in your eyes!",
"apply_message": "You're covered in bile!",
"rating": "bad",
"resist_traits": [ "SAPROVORE", "SAPROPHAGE", "EATDEAD" ],
"base_mods": {
"per_mod": [ -3, -3 ],
"vomit_chance": [ 500, 0 ],
"health_chance": [ 1 ],
"health_min": [ -1 ],
"health_chance_bot": [ 300, 0 ]
},
"base_mods": { "per_mod": [ -3 ], "vomit_chance": [ 500 ] },
"max_duration": "30 s",
"limb_score_mods": [
{ "limb_score": "vision", "modifier": 0.1 },
{ "limb_score": "night_vis", "modifier": 0.0 },
{ "limb_score": "reaction", "modifier": 0.2 }
],
"flags": [ "EFFECT_LIMB_SCORE_MOD", "BILE_AFFLICTED" ]
},
{
"type": "effect_type",
"id": "bile",
"name": [ "Bile Splashed" ],
"desc": [ "You're splattered with a greasy layer of liquified putrescence." ],
"apply_message": "You're covered in bile!",
"rating": "bad",
"resist_traits": [ "SAPROVORE", "SAPROPHAGE", "EATDEAD" ],
"base_mods": { "vomit_chance": [ 500, 0 ], "health_chance": [ 1 ], "health_min": [ -1 ], "health_chance_bot": [ 300, 0 ] },
"max_duration": "30 s",
"flags": [ "BILE_AFFLICTED" ]
"flags": [ "EFFECT_LIMB_SCORE_MOD" ]
},
{
"type": "effect_type",
"id": "glowing",
"name": [ "Glowing" ],
"desc": [ "You are covered in glowing goo!" ],
"max_duration": "30 s",
"max_duration": "6 m",
"apply_message": "You're covered in a glowing goo!",
"rating": "bad",
"resist_traits": [ "SAPROVORE", "SAPROPHAGE", "EATDEAD" ],
"base_mods": { "vomit_chance": [ 500, 0 ], "health_chance": [ 1 ], "health_min": [ -1 ], "health_chance_bot": [ 300, 0 ] },
"flags": [ "BILE_AFFLICTED" ]
"base_mods": { "vomit_chance": [ 500 ] }
},
{
"type": "effect_type",
Expand Down
42 changes: 0 additions & 42 deletions data/json/effects_on_condition/effects_eocs.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,47 +63,5 @@
}
],
"false_effect": [ { "u_lose_morale": "morale_asocial_dissatisfied" } ]
},
{
"type": "effect_on_condition",
"id": "bile_in_eyes",
"recurrence": [ "1 seconds", "1 seconds" ],
"condition": {
"and": [
{ "or": [ { "u_has_effect": "bile", "bodypart": "eyes" }, { "u_has_effect": "glowing", "bodypart": "eyes" } ] },
{
"and": [
{ "not": { "u_has_trait": "COMPOUND_EYES" } },
{ "not": { "u_has_trait": "PER_SLIME_OK" } },
{ "not": { "u_has_bionics": "bio_armor_eyes" } }
]
}
]
},
"effect": [
{ "u_add_effect": "boomered", "target_part": "eyes", "duration": "9 seconds" },
{ "u_lose_effect": "bile", "target_part": "eyes" },
{ "u_lose_effect": "glowing", "target_part": "eyes" }
]
},
{
"type": "effect_on_condition",
"id": "bile_stink",
"recurrence": [ "1 seconds", "1 seconds" ],
"condition": {
"and": [
{ "u_has_flag": "BILE_AFFLICTED" },
{ "not": { "u_has_trait": "BILE_STINK" } },
{ "not": { "u_has_trait": "CHLOROMORPH" } }
]
},
"effect": [ { "u_add_trait": "BILE_STINK" } ]
},
{
"type": "effect_on_condition",
"id": "bile_unstink",
"recurrence": [ "3 minutes", "10 minutes" ],
"condition": { "not": { "u_has_flag": "BILE_AFFLICTED" } },
"effect": [ { "u_lose_trait": "BILE_STINK" } ]
}
]
Loading

0 comments on commit 909b857

Please sign in to comment.