Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better Boomer Barf #69555

Merged
merged 75 commits into from
Nov 30, 2023
Merged
Show file tree
Hide file tree
Changes from 59 commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
ffbc140
try again
worm-girl Nov 19, 2023
b38d8d9
fixes
worm-girl Nov 19, 2023
609f769
more updates
worm-girl Nov 19, 2023
107a059
Fixes
worm-girl Nov 19, 2023
e5142a7
Update effects.json
worm-girl Nov 19, 2023
33c59ee
Update src/creature.cpp
worm-girl Nov 19, 2023
91cd450
Update src/creature.cpp
worm-girl Nov 19, 2023
8cb421f
Update src/character_body.cpp
worm-girl Nov 19, 2023
b4a5759
Update src/character.cpp
worm-girl Nov 19, 2023
0275a9a
Update src/character.cpp
worm-girl Nov 19, 2023
1abc072
Update data/json/effects_on_condition/misc_effect_on_condition.json
worm-girl Nov 19, 2023
7014ad1
Update data/json/effects_on_condition/misc_effect_on_condition.json
worm-girl Nov 19, 2023
3427199
Update data/json/effects.json
worm-girl Nov 19, 2023
b6a6837
Update data/json/effects.json
worm-girl Nov 19, 2023
be348fd
Update data/json/effects_on_condition/misc_effect_on_condition.json
worm-girl Nov 19, 2023
d5f35e2
Update data/json/field_type.json
worm-girl Nov 19, 2023
ad74afd
Update data/json/field_type.json
worm-girl Nov 19, 2023
21b6ff7
Update data/json/field_type.json
worm-girl Nov 19, 2023
643df72
Update data/json/field_type.json
worm-girl Nov 19, 2023
7f5ea18
Update data/json/field_type.json
worm-girl Nov 19, 2023
c283236
Update data/json/field_type.json
worm-girl Nov 19, 2023
a722c09
rebase fix
worm-girl Nov 19, 2023
03bbfa6
Merge branch 'boomerbuff2' of https://github.com/fairyarmadillo/Catac…
worm-girl Nov 19, 2023
6ad310b
Update effects.json
worm-girl Nov 19, 2023
33ed821
Update src/creature.cpp
worm-girl Nov 19, 2023
473f094
Update src/creature.cpp
worm-girl Nov 19, 2023
dded634
Update src/creature.cpp
worm-girl Nov 19, 2023
7b1531b
Update src/creature.h
worm-girl Nov 19, 2023
25b0282
Update src/iuse.cpp
worm-girl Nov 19, 2023
c3ee087
Update src/monster.cpp
worm-girl Nov 19, 2023
a9c88f0
Update src/monster.cpp
worm-girl Nov 19, 2023
daa3ebf
Update src/monster.cpp
worm-girl Nov 19, 2023
a108eac
Update src/monster.cpp
worm-girl Nov 19, 2023
7e366da
Update src/creature.cpp
worm-girl Nov 19, 2023
f169e41
Update mutation_effect_eocs.json
worm-girl Nov 19, 2023
a29e3bf
Update field_type.json
worm-girl Nov 19, 2023
14a2736
Update stashes.json
worm-girl Nov 19, 2023
04cf742
Update eyewear.json
worm-girl Nov 19, 2023
dde3c36
Update data/mods/CrazyCataclysm/crazy_effect_on_condition.json
worm-girl Nov 19, 2023
580b972
Update data/mods/CrazyCataclysm/crazy_effect_on_condition.json
worm-girl Nov 19, 2023
0d509f4
Update med.json
worm-girl Nov 19, 2023
adb2144
Update src/character.cpp
worm-girl Nov 19, 2023
9b2458e
Update src/character.cpp
worm-girl Nov 19, 2023
fbf78ee
Update src/character.cpp
worm-girl Nov 19, 2023
735042c
Update src/character.cpp
worm-girl Nov 19, 2023
021cb63
Update data/json/effects_on_condition/mutation_eocs/mutation_effect_e…
worm-girl Nov 19, 2023
5cf2f39
Update data/json/effects_on_condition/mutation_eocs/mutation_effect_e…
worm-girl Nov 19, 2023
c515cd4
Update collections_domestic.json
worm-girl Nov 19, 2023
7c6a330
Update src/character.cpp
worm-girl Nov 19, 2023
387f810
Update src/creature.h
worm-girl Nov 19, 2023
6da37cb
Update drugs.json
worm-girl Nov 19, 2023
2fdde9a
Update npc.cpp
worm-girl Nov 19, 2023
2a00f70
Update monster.cpp
worm-girl Nov 19, 2023
2ad8851
Update creature.h
worm-girl Nov 19, 2023
4cce64a
Update creature.cpp
worm-girl Nov 19, 2023
40d9675
Update character_body.cpp
worm-girl Nov 19, 2023
98a1fe0
Update crazy_effect_on_condition.json
worm-girl Nov 19, 2023
c901880
Update character.h
worm-girl Nov 19, 2023
be7ad95
Update src/character_body.cpp
worm-girl Nov 19, 2023
4a1795a
Update iuse.cpp
worm-girl Nov 19, 2023
dd25b7d
Not everyone has skin, not all itching is a bug delusion
worm-girl Nov 19, 2023
b8431d7
footing instead of reaction
worm-girl Nov 19, 2023
8d40392
Merge branch 'boomerbuff2' of https://github.com/fairyarmadillo/Catac…
worm-girl Nov 19, 2023
087ba66
mild int penalty (pinkeye is distracting)
worm-girl Nov 20, 2023
10d3a7e
alphabetize
worm-girl Nov 20, 2023
89150fa
change int to float to stop the thing complaining
worm-girl Nov 20, 2023
755506e
redundant parentheses
worm-girl Nov 20, 2023
89b79f5
redundant parentheses
worm-girl Nov 20, 2023
e969ef7
Update src/creature.cpp
worm-girl Nov 20, 2023
1565d37
minor rebase error
worm-girl Nov 20, 2023
40eeacd
changed to infection_immune
worm-girl Nov 21, 2023
23b4bbc
Merge branch 'master' into boomerbuff2
Maleclypse Nov 28, 2023
8091c93
Update misc_effect_on_condition.json
worm-girl Nov 29, 2023
22c3968
Minor fixes
worm-girl Nov 29, 2023
9bfe83d
make checks stop complaining
worm-girl Nov 30, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
102 changes: 99 additions & 3 deletions data/json/effects.json
Original file line number Diff line number Diff line change
Expand Up @@ -1910,7 +1910,7 @@
"type": "effect_type",
"id": "boomered",
"name": [ "Boomered" ],
"desc": [ "Range of Sight: 1; You are covered in magenta bile!" ],
"desc": [ "Your vision is obscured by a disgusting splatter of bile." ],
"apply_message": "You're covered in bile!",
"rating": "bad",
"base_mods": { "per_mod": [ -3 ], "vomit_chance": [ 500 ] },
Expand Down Expand Up @@ -2657,8 +2657,9 @@
"id": "formication",
"name": [ "Itchy Skin", "Writhing Skin", "Bugs in Skin" ],
"desc": [ "You stop to scratch yourself frequently; high INT helps you resist the urge." ],
"apply_message": "Your skin feels extremely itchy!",
"apply_message": "You feel extremely itchy!",
"rating": "bad",
"resist_effects": [ "took_flumed", "took_antihistamine" ],
"main_parts_only": true,
"max_intensity": 3,
"base_mods": { "str_mod": [ -0.34 ], "int_mod": [ -1 ] },
Expand Down Expand Up @@ -2809,6 +2810,74 @@
"max_duration": 14515200,
"dur_add_perc": 50
},
{
"//": "For player, indistinguishable from pre_conjunctivitis_bacterial, but separate here to allow for separate resistances from antibiotics.",
"type": "effect_type",
"id": "pre_conjunctivitis_viral",
"show_in_info": false,
"immune_flags": [ "NO_DISEASE", "SEESLEEP" ],
"blood_analysis_description": "Viral Infection",
"max_duration": "71 h"
},
{
"//": "For player, indistinguishable from pre_conjunctivitis_viral, but separate here to allow for separate resistances from antibiotics.",
"type": "effect_type",
"id": "pre_conjunctivitis_bacterial",
"show_in_info": false,
"immune_flags": [ "NO_DISEASE", "SEESLEEP" ],
worm-girl marked this conversation as resolved.
Show resolved Hide resolved
"blood_analysis_description": "Bacterial Infection",
"max_duration": "71 h"
},
{
"//": "For player, indistinguishable from conjunctivitis_bacterial, but separate here to allow for separate resistances from antibiotics.",
"type": "effect_type",
"id": "conjunctivitis_viral",
"name": [ "Conjunctivitis" ],
"desc": [
"Commonly known as pinkeye, this minor infection can be treated with antihistamines. If it's bacterial, antibiotics may help, but you can't tell without a lab analysis."
],
"apply_memorial_log": "Got pinkeye.",
"remove_memorial_log": "Got over a pinkeye infection.",
"apply_message": "Your itchy eye leaks a filmy discharge.",
"rating": "bad",
"resist_effects": [ "took_antihistamine", "took_flumed" ],
"resist_traits": [ "INFRESIST", "PER_SLIME_OK" ],
"immune_flags": [ "NO_DISEASE", "SEESLEEP" ],
"int_dur_factor": "50 m",
"base_mods": { "per_mod": [ -2 ], "pain_min": [ 1 ], "pain_chance": [ 400, 1000 ] },
"limb_score_mods": [
{ "limb_score": "vision", "modifier": 0.8, "resist_modifier": 0.9 },
{ "limb_score": "night_vis", "modifier": 0.8, "resist_modifier": 0.9 }
],
"miss_messages": [ [ "It feels like there's sand in your eye.", 1 ] ],
"flags": [ "EFFECT_LIMB_SCORE_MOD" ],
"blood_analysis_description": "Viral Infection"
},
{
"//": "For player, indistinguishable from conjunctivitis_bacterial, but separate here to allow for separate resistances from antibiotics.",
"type": "effect_type",
"id": "conjunctivitis_bacterial",
"name": [ "Conjunctivitis" ],
"desc": [
"Commonly known as pinkeye, this minor infection can be treated with antihistamines. If it's bacterial, antibiotics may help, but you can't tell without a lab analysis."
],
"apply_memorial_log": "Got pinkeye.",
"remove_memorial_log": "Got over a pinkeye infection.",
"apply_message": "Your itchy eye leaks a filmy discharge.",
"rating": "bad",
"resist_effects": [ "took_antihistamine", "took_flumed" ],
"resist_traits": [ "INFRESIST", "PER_SLIME_OK" ],
"immune_flags": [ "NO_DISEASE", "SEESLEEP" ],
"int_dur_factor": "50 m",
"base_mods": { "per_mod": [ -2 ], "pain_min": [ 1 ], "pain_chance": [ 400, 1000 ] },
"miss_messages": [ [ "It feels like there's sand in your eye.", 1 ] ],
"limb_score_mods": [
{ "limb_score": "vision", "modifier": 0.8, "resist_modifier": 0.9 },
{ "limb_score": "night_vis", "modifier": 0.8, "resist_modifier": 0.9 }
],
"flags": [ "EFFECT_LIMB_SCORE_MOD" ],
"blood_analysis_description": "Bacterial Infection"
},
{
"type": "effect_type",
"id": "prophylactic_antivenom",
Expand All @@ -2826,6 +2895,14 @@
"max_duration": 86400,
"blood_analysis_description": "Antiasthmatics"
},
{
"type": "effect_type",
"id": "took_antihistamine",
"name": [ "Took Antihistamine Drugs" ],
"desc": [ "You have taken an antihistamine drug recently." ],
"rating": "good",
"blood_analysis_description": "Antihistamines"
},
{
"type": "effect_type",
"id": "cureall",
Expand All @@ -2849,7 +2926,11 @@
"infected",
"asthma",
"common_cold",
"flu"
"flu",
"pre_conjunctivitis_viral",
"pre_conjunctivitis_bacterial",
"conjunctivitis_viral",
"conjunctivitis_bacterial"
],
"base_mods": { "pkill_min": [ 5 ] }
},
Expand Down Expand Up @@ -4392,5 +4473,20 @@
]
}
]
},
{
"id": "slippery_terrain",
"type": "effect_type",
"max_duration": "1 s",
"name": [ "Slick Surface", "Slippery Terrain", "Dangerously Slippery" ],
"desc": [
"There's a slippery surface here, running may be a bad idea.",
"It's quite slippery, it may not be safe to stand here.",
"This area is extremely slippery."
],
"rating": "bad",
"show_intensity": true,
"resist_traits": [ "GASTROPOD_BALANCE" ],
"show_in_info": true
}
]
56 changes: 56 additions & 0 deletions data/json/effects_on_condition/misc_effect_on_condition.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,5 +129,61 @@
{ "u_message": "nightmares", "snippet": true, "type": "bad" },
{ "u_add_morale": "morale_nightmare", "bonus": [ -15, -30 ], "max_bonus": -30 }
]
},
{
"type": "effect_on_condition",
"id": "EOC_PRE_CONJUNCTIVITIS_VIRAL",
"recurrence": [ "24 hours", "72 hours" ],
"condition": {
"and": [
{ "u_has_effect": "pre_conjunctivitis_viral" },
{ "not": { "u_has_effect": "conjunctivitis_bacterial" } },
{ "not": { "u_has_effect": "conjunctivitis_viral" } },
{ "not": { "u_has_trait": "SEESLEEP" } },
{ "not": { "u_has_bionics": "armor_bio_eyes" } }
]
},
"effect": [
{ "u_add_effect": "conjunctivitis_viral", "duration": { "math": [ "rand(259200) + 432000" ] }, "target_part": "eyes" },
{ "u_lose_effect": "pre_conjunctivitis_bacterial" },
{ "u_lose_effect": "pre_conjunctivitis_viral" }
]
},
{
"type": "effect_on_condition",
"id": "EOC_PRE_CONJUNCTIVITIS_BACTERIAL",
"recurrence": [ "24 hours", "72 hours" ],
"condition": {
"and": [
{ "u_has_effect": "pre_conjunctivitis_bacterial" },
{ "not": { "u_has_effect": "conjunctivitis_bacterial" } },
{ "not": { "u_has_effect": "conjunctivitis_viral" } },
{ "not": { "u_has_trait": "SEESLEEP" } },
{ "not": { "u_has_bionics": "armor_bio_eyes" } }
]
},
"effect": [
{
"u_add_effect": "conjunctivitis_bacterial",
"duration": { "math": [ "rand(259200) + 432000" ] },
"target_part": "eyes"
},
{ "u_lose_effect": "pre_conjunctivitis_viral" },
{ "u_lose_effect": "pre_conjunctivitis_bacterial" }
]
},
{
"type": "effect_on_condition",
"id": "EOC_CONJUNCTIVITIS",
"recurrence": [ "10 minutes", "45 minutes" ],
"condition": {
"and": [
{ "or": [ { "u_has_effect": "conjunctivitis_viral" }, { "u_has_effect": "conjunctivitis_bacterial" } ] },
{ "not": { "u_has_effect": "formication" } },
{ "not": { "u_has_effect": "took_antihistamine" } },
{ "not": { "u_has_effect": "sleep" } }
]
},
"effect": [ { "u_add_effect": "formication", "duration": "5 minutes", "target_part": "head" } ]
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,14 @@
{
"type": "effect_on_condition",
"id": "EOC_RASHY_SKIN",
"recurrence": [ "2 hour", "24 hours" ],
"condition": { "and": [ { "u_has_trait": "SKIN_RASHY" }, { "not": { "u_has_effect": "formication" } } ] },
"recurrence": [ "2 hours", "24 hours" ],
"condition": {
"and": [
{ "u_has_trait": "SKIN_RASHY" },
{ "not": { "u_has_effect": "took_antihistamine" } },
{ "not": { "u_has_effect": "formication" } }
]
},
"effect": [ { "u_add_effect": "formication", "duration": "10 minutes", "target_part": "random" } ]
}
]
86 changes: 80 additions & 6 deletions data/json/field_type.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,51 @@
"id": "fd_bile",
"type": "field_type",
"legacy_enum_id": 2,
"intensity_levels": [ { "name": "bile splatter", "color": "pink" }, { "name": "bile stain" }, { "name": "puddle of bile" } ],
"intensity_levels": [
{
"name": "bile splatter",
"sym": "}",
"color": "pink",
"effects": [
{
"effect_id": "slippery_terrain",
"intensity": 1,
"min_duration": "1 second",
"immune_in_vehicle": true,
"is_environmental": false
}
]
},
{
"name": "bile stain",
"effects": [
{
"effect_id": "slippery_terrain",
"intensity": 2,
"min_duration": "1 second",
"immune_in_vehicle": true,
"is_environmental": false
}
]
},
{
"name": "puddle of bile",
"effects": [
{
"effect_id": "slippery_terrain",
"intensity": 3,
"min_duration": "1 second",
"immune_in_vehicle": true,
"is_environmental": false
}
]
}
],
"description_affix": "covered_in",
"underwater_age_speedup": "25 minutes",
"decay_amount_factor": 2,
"is_splattering": true,
"half_life": "1 days",
"half_life": "30 minutes",
"phase": "liquid",
"accelerated_decay": true,
"display_field": true,
Expand Down Expand Up @@ -176,15 +215,50 @@
"type": "field_type",
"legacy_enum_id": 6,
"intensity_levels": [
{ "name": "slime trail", "color": "light_green" },
{ "name": "slime stain" },
{ "name": "puddle of slime", "color": "green" }
{
"name": "slime trail",
"color": "light_green",
"effects": [
{
"effect_id": "slippery_terrain",
"intensity": 1,
"min_duration": "1 second",
"immune_in_vehicle": true,
"is_environmental": false
}
]
},
{
"name": "slime stain",
"effects": [
{
"effect_id": "slippery_terrain",
"intensity": 2,
"min_duration": "1 second",
"immune_in_vehicle": true,
"is_environmental": false
}
]
},
{
"name": "puddle of slime",
"color": "green",
"effects": [
{
"effect_id": "slippery_terrain",
"intensity": 3,
"min_duration": "1 second",
"immune_in_vehicle": true,
"is_environmental": false
}
]
}
],
"description_affix": "covered_in",
"decay_amount_factor": 2,
"apply_slime_factor": 10,
"is_splattering": true,
"half_life": "1 days",
"half_life": "25 minutes",
"phase": "liquid",
"accelerated_decay": true,
"display_field": true,
Expand Down
10 changes: 9 additions & 1 deletion data/json/itemgroups/Drugs_Tobacco_Alcohol/drugs.json
Original file line number Diff line number Diff line change
Expand Up @@ -219,14 +219,15 @@
{ "group": "cotton_ball_bag_full", "prob": 5 },
{ "group": "used_1st_aid", "prob": 35 },
{ "item": "saline", "prob": 25, "charges": [ 1, 5 ] },
{ "item": "contacts", "prob": 10, "count": 6 },
[ "contacts", 10 ],
{ "prob": 75, "group": "vitamins_bottle_plastic_pill_supplement_1_20" },
{ "item": "gummy_vitamins", "prob": 25, "count": [ 1, 10 ] },
{ "prob": 75, "group": "calcium_tablet_bottle_plastic_pill_supplement_1_20" },
{ "prob": 85, "group": "aspirin_bottle_plastic_pill_painkiller_1_20" },
{ "prob": 25, "group": "caffeine_bottle_plastic_pill_supplement_1_10" },
{ "prob": 15, "group": "pills_sleep_bottle_plastic_pill_prescription_1_10" },
{ "prob": 10, "group": "melatonin_tablet_bottle_plastic_pill_supplement_1_30" },
{ "prob": 15, "group": "antihistamine_bottle_plastic_pill_supplement_1_30" },
{ "prob": 5, "group": "iodine_bottle_plastic_pill_supplement_1_10" },
{ "prob": 5, "group": "prussian_blue_bottle_plastic_pill_supplement_1_10" },
{ "item": "dayquil", "prob": 70, "charges": [ 1, 5 ] },
Expand Down Expand Up @@ -585,6 +586,13 @@
"container-item": "bottle_plastic_pill_prescription",
"entries": [ { "item": "melatonin_tablet", "container-item": "null", "count": 30 } ]
},
{
"type": "item_group",
"id": "antihistamine_bottle_full",
"subtype": "collection",
"container-item": "bottle_plastic_pill_prescription",
"entries": [ { "item": "antihistamine", "container-item": "null", "count": 30 } ]
},
{
"type": "item_group",
"id": "protein_bottle_full",
Expand Down
Loading
Loading