Skip to content

Commit

Permalink
Replace radioactive gas
Browse files Browse the repository at this point in the history
  • Loading branch information
John-Candlebury committed Jun 2, 2024
1 parent f3f4d6d commit 206f02f
Show file tree
Hide file tree
Showing 7 changed files with 64 additions and 5 deletions.
8 changes: 8 additions & 0 deletions data/mods/Aftershock/emit.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,13 @@
"intensity": 3,
"qty": 60,
"chance": 100
},
{
"id": "heavy_rad_glimmer",
"type": "emit",
"field": "fd_rad_glimmer",
"intensity": 3,
"chance": 70,
"qty": 70
}
]
24 changes: 24 additions & 0 deletions data/mods/Aftershock/field_type.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,5 +124,29 @@
"display_items": true,
"display_field": true,
"looks_like": "fd_nuke_gas"
},
{
"id": "fd_rad_glimmer",
"type": "field_type",
"intensity_levels": [
{ "name": "radiative glimmer", "color": "light_red_yellow", "sym": "#", "light_emitted": 5, "extra_radiation_max": 1 },
{ "name": "radiative glimmer", "color": "light_red_yellow", "extra_radiation_max": 2, "concentration": 2 },
{
"name": "intense radiative glimmer",
"color": "light_red_yellow",
"light_emitted": 10,
"extra_radiation_max": 15,
"radiation_hurt_damage_min": 1,
"radiation_hurt_damage_max": 2,
"radiation_hurt_message": "You feel a painful burning sensation."
}
],
"description_affix": "illuminated_by",
"priority": 4,
"half_life": "1 turns",
"phase": "plasma",
"display_items": false,
"display_field": true,
"looks_like": "fd_laser"
}
]
2 changes: 1 addition & 1 deletion data/mods/Aftershock/items/grenades.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
"use_action": { "type": "message", "message": "You've already pulled the %s's pin, try throwing it instead.", "name": "Pull pin" },
"countdown_action": {
"type": "explosion",
"fields_type": "fd_nuke_gas",
"fields_type": "fd_rad_glimmer",
"fields_radius": 3,
"fields_min_intensity": 3,
"fields_max_intensity": 3,
Expand Down
2 changes: 1 addition & 1 deletion data/mods/Aftershock/items/items.json
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@
"type": "GENERIC",
"id": "afs_fusion_engine_core",
"name": { "str_sp": "fusion drive powerplant" },
"description": "A very heavy sphere of radiation shielding completely obscures the inner working of this hyperspace-age device. Any experienced salvor knows that opening it would completely ruin it.",
"description": "A very heavy sphere of radiation shielding completely obscures the inner workings of this hyperspace-age device. Any experienced salvor knows that opening it would completely ruin it.",
"symbol": "o",
"color": "yellow",
"weight": "14 kg",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,32 @@
{ "item": "ammonia_liquid", "prob": 100, "count": [ 4, 8 ] }
]
}
},
{
"type": "furniture",
"id": "f_afs_reactor_meltdown",
"name": "radioactive slag",
"description": "A pile of melted slag from a destroyed spaceship reactor. Incandescently hot and highly radioactive, you'd need a purposefully armored suit to even approach it.",
"looks_like": "t_nuclear_reactor",
"symbol": "#",
"color": "light_green",
"move_cost_mod": 6,
"max_volume": "750 L",
"required_str": -1,
"emissions": [ "heavy_rad_glimmer" ],
"flags": [
"TRANSPARENT",
"UNSTABLE",
"ROUGH",
"SHARP",
"PLACE_ITEM",
"MOUNTABLE",
"CONTAINER",
"SEALED",
"ALLOW_FIELD_EFFECT",
"SMALL_HIDE",
"SHORT",
"RUBBLE"
]
}
]
4 changes: 2 additions & 2 deletions data/mods/Aftershock/maps/mapgen/crashsites.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"#": "t_dirtmound"
},
"furniture": {
"R": "f_reactor_meltdown",
"R": "f_afs_reactor_meltdown",
"#": [ [ "f_wreckage", 1 ], [ "f_null", 15 ] ],
"I": "f_afs_shuttle_fusion_engine",
"0": "f_afs_shuttle_manuevering_thruster"
Expand Down Expand Up @@ -94,7 +94,7 @@
"#": "t_dirtmound"
},
"furniture": {
"R": "f_reactor_meltdown",
"R": "f_afs_reactor_meltdown",
"#": [ [ "f_wreckage", 1 ], [ "f_null", 15 ] ],
"I": "f_afs_shuttle_fusion_engine",
"0": "f_afs_shuttle_manuevering_thruster"
Expand Down
2 changes: 1 addition & 1 deletion data/mods/Aftershock/spells.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"effect": "attack",
"shape": "blast",
"valid_targets": [ "self" ],
"field_id": "fd_nuke_gas",
"field_id": "fd_rad_glimmer",
"field_chance": 60,
"min_field_intensity": 2,
"max_field_intensity": 2,
Expand Down

0 comments on commit 206f02f

Please sign in to comment.