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

Nether Monster Corpses - Yugg #73303

Merged
merged 12 commits into from
Jun 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
[
{
"type": "effect_on_condition",
"id": "EOC_YUGG_DEATH",
"effect": [
{ "u_location_variable": { "context_val": "death_loc" } },
{
"switch": { "math": [ "rand(4)" ] },
"cases": [
{
"case": 0,
"effect": [
{ "map_spawn_item": "black_glass_shard", "loc": { "context_val": "death_loc" }, "count": [ 750, 2250 ] },
{
"if": "player_see_u",
"then": {
"message": "As it stops moving, the creature quickly begins to darken and turn translucent, shattering like glass soon after.",
"type": "info"
}
}
]
},
{
"case": 1,
"effect": [
{ "map_spawn_item": "corpse_yugg_rubber", "loc": { "context_val": "death_loc" } },
{
"if": "player_see_u",
"then": {
"message": "As it stops moving, the creature's skin turns darker and it falls limp like a pool noodle.",
"type": "info"
}
}
]
},
{
"case": 2,
"effect": [
{ "map_spawn_item": "corpse_yugg_mutflesh", "loc": { "context_val": "death_loc" } },
{
"if": "player_see_u",
"then": {
"message": "As it stops moving, the creature seems to lose all detail and falls limply on the ground with a wet thud.",
"type": "info"
}
}
]
},
{
"case": 3,
"effect": [
{ "map_spawn_item": "corpse_yugg_jade", "loc": { "context_val": "death_loc" } },
{
"if": "player_see_u",
"then": {
"message": "As it stops moving, the creature seems to stiffen as it skins seems to harden and take a form not dissimilar to stone.",
"type": "info"
}
}
]
},
{
"case": 4,
"effect": [
{
"u_set_field": "fd_fog",
"radius": 10,
"intensity": 99,
"hit_player": true,
"target_var": { "context_val": "death_loc" }
},
{
"if": "player_see_u",
"then": {
"message": "As it falls to the ground, strands of fog seem to tear away from the corpse. The giant worm dissolves in the air in front of your eyes.",
"type": "info"
}
}
]
}
]
}
]
}
]
10 changes: 10 additions & 0 deletions data/json/items/comestibles/carnivore.json
Original file line number Diff line number Diff line change
Expand Up @@ -2096,5 +2096,15 @@
"price_postapoc": "4 USD",
"flags": [ "EATEN_HOT", "SMOKED", "SMOKABLE" ],
"smoking_result": "dry_poultry"
},
{
"id": "mutflesh",
"copy-from": "meat",
"type": "COMESTIBLE",
"name": { "str": "chunk of mutagenic flesh", "str_pl": "chunks of mutagenic flesh" },
"description": "A chunk of raw meat with a weirdly off-green coloration. You could eat it as-is, but are you sure you want to?",
"flags": [ "RAW", "TRADER_AVOID" ],
"smoking_result": " ",
"vitamins": [ [ "mutagenic_slurry", 12 ] ]
}
]
44 changes: 44 additions & 0 deletions data/json/items/corpses/nether.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
[
{
"type": "GENERIC",
"id": "corpse_yugg_rubber",
"name": { "str": "rubber yugg corpse" },
"description": "An oversized hollow tube made of black semi-liquid rubbery substance. It is vaguely shaped like a yugg.",
"symbol": "W",
"color": "dark_gray",
"category": "corpses",
"material": [ "rubber" ],
"price_postapoc": "10 USD",
"volume": "600 L",
"weight": "500 kg",
"flags": [ "NO_SALVAGE" ]
},
{
"type": "GENERIC",
"id": "corpse_yugg_mutflesh",
"name": { "str": "massive fleshy tube" },
"description": "An oversized tube of faintly green raw flesh of nondescript origin. It is vaguely shaped like a yugg.",
"symbol": "W",
"color": "red",
"category": "corpses",
"material": [ "flesh" ],
"price_postapoc": "0 USD",
"volume": "600 L",
"weight": "500 kg",
"flags": [ "TRADER_AVOID" ]
},
{
"type": "GENERIC",
"id": "corpse_yugg_jade",
"name": { "str": "jade yugg statue" },
"description": "A statue of a yugg, made entire out of jade. If jade was still worth anything this could fetch a fortune. A shame the world ended.",
"symbol": "W",
"color": "green",
"category": "corpses",
"material": [ "stone" ],
"price_postapoc": "0 USD",
"volume": "600 L",
"weight": "900 kg",
"flags": [ "TRADER_AVOID" ]
}
]
23 changes: 18 additions & 5 deletions data/json/monsters/nether.json
Original file line number Diff line number Diff line change
Expand Up @@ -1410,8 +1410,8 @@
"bodytype": "snake",
"species": [ "NETHER" ],
"diff": 10,
"volume": "875000 ml",
"weight": "200 kg",
"volume": "600 L",
"weight": "800 kg",
"hp": 320,
"speed": 80,
"material": [ "flesh" ],
Expand All @@ -1423,13 +1423,26 @@
"melee_dice": 3,
"melee_dice_sides": 5,
"melee_damage": [ { "damage_type": "cut", "amount": 8 } ],
"dodge": 1,
"bleed_rate": 50,
"families": [ "prof_wp_netherium_abomination" ],
"weakpoint_sets": [ "wps_netherium_abomination" ],
"harvest": "meatslug",
"harvest": "exempt",
"death_function": { "corpse_type": "NO_CORPSE", "eoc": "EOC_YUGG_DEATH" },
"special_attacks": [ { "type": "spell", "spell_data": { "id": "spell_gene_sting", "min_level": 5 }, "cooldown": 160 } ],
"flags": [ "SEES", "SMELLS", "HEARS", "HAS_MIND", "BASHES", "DESTROYS", "POISON", "VENOM", "NO_BREATHE", "DIGS" ],
"flags": [
"SEES",
"HEARS",
"GOODHEARING",
"HAS_MIND",
"BASHES",
"DESTROYS",
"POISON",
"VENOM",
"NO_BREATHE",
"DIGS",
"PUSH_VEH",
"RANGED_ATTACKER"
],
"armor": { "bash": 6, "electric": 3 }
},
{
Expand Down
10 changes: 10 additions & 0 deletions data/json/uncraft/corpses/nether.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[
{
"result": "corpse_yugg_mutflesh",
"type": "uncraft",
"activity_level": "MODERATE_EXERCISE",
"time": "90 m",
"qualities": [ { "id": "CUT", "level": 2 } ],
"components": [ [ [ "mutflesh", 1500 ] ] ]
}
]
Loading