Skip to content

Commit

Permalink
[MoM] Add Alien Meadow mutable map special (#75933)
Browse files Browse the repository at this point in the history
* Initial commit

* Add core

* Add basic alien meadow grass

* Add bush, spelling error

* Add alien berry bush

* Add more alien trees and bushes

* Lint

* Add stable portal

* Add harvest

* Increase seed drops

* Add alien fruit

* Add fields, add tree trap

* Add alien tree trap

* Add alien roots trap

* Update traps.json

* Add alien solid pool

* Add alien goo

* Linting

* Add weeds

* Fixes

* change central portal looks like

* Increase size of central portal

* Fix trap tree

* Slightly increase occurrences
  • Loading branch information
Standing-Storm authored Sep 19, 2024
1 parent edd4099 commit 2130f54
Show file tree
Hide file tree
Showing 14 changed files with 1,042 additions and 0 deletions.
14 changes: 14 additions & 0 deletions data/mods/MindOverMatter/effectoncondition/eoc_misc.json
Original file line number Diff line number Diff line change
Expand Up @@ -261,5 +261,19 @@
"condition": { "u_has_effect": "effect_telepathic_psi_armor" },
"effect": { "u_message": "You sense <npc_name> trying to enter your mind, but you repel!", "type": "warning" },
"false_effect": { "run_eocs": [ "EOC_STARE2" ] }
},
{
"type": "effect_on_condition",
"id": "EOC_ALIEN_MEADOW_BUSH_2_BERRIES",
"//": "This sets up a delayed reaction to eating the berries",
"effect": [ { "queue_eocs": "EOC_ALIEN_MEADOW_BUSH_2_BERRIES_2", "time_in_future": [ "5 minutes", "20 minutes" ] } ]
},
{
"type": "effect_on_condition",
"id": "EOC_ALIEN_MEADOW_BUSH_2_BERRIES_2",
"effect": [
{ "u_message": "Your stomach is seized with cramps!", "type": "bad" },
{ "u_add_effect": "alienfoodpoison", "duration": { "math": [ "3600 + rand(16200)" ] } }
]
}
]
19 changes: 19 additions & 0 deletions data/mods/MindOverMatter/effects/effects_other.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,24 @@
"name": [ "" ],
"desc": [ "" ],
"rating": "good"
},
{
"type": "effect_type",
"id": "alienfoodpoison",
"name": [ "Food Poisoning" ],
"desc": [ "Your stomach is extremely upset, and you are quite nauseated." ],
"//": "Separate id because there's no reason Poison Resistance would help you against alien toxins.",
"apply_message": "Your stomach is seized with cramps!",
"miss_messages": [ [ "Your stomach bothers you.", 1 ] ],
"rating": "bad",
"base_mods": {
"per_mod": [ -1 ],
"dex_mod": [ -1 ],
"str_mod": [ -3, -1 ],
"speed_mod": [ -20 ],
"pain_min": [ 1 ],
"pain_chance": [ 300, 900 ],
"vomit_chance": [ 600, 1200 ]
}
}
]
21 changes: 21 additions & 0 deletions data/mods/MindOverMatter/fields.json
Original file line number Diff line number Diff line change
Expand Up @@ -225,5 +225,26 @@
"half_life": "30 minutes",
"phase": "plasma",
"display_field": true
},
{
"id": "fd_meadow_portal",
"type": "field_type",
"intensity_levels": [
{
"name": "swirling portal",
"color": "magenta",
"sym": "*",
"dangerous": true,
"monster_spawn_chance": 6000,
"monster_spawn_count": 1,
"monster_spawn_radius": 1,
"monster_spawn_group": "GROUP_ALIEN_MEADOW"
}
],
"description_affix": "under",
"priority": 8,
"display_items": true,
"display_field": true,
"looks_like": "fd_fatigue"
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
[
{
"type": "furniture",
"id": "f_alien_weed_1",
"name": "alien plant",
"description": "An alien plant, a knee-high tightly-coiled bundle of reddish-yellow stalks with jagged leaves extending every which way. It looks very difficult to walk through.",
"symbol": ",",
"move_cost_mod": 3,
"color": [ "red", "red", "red", "light_red" ],
"required_str": -1,
"flags": [ "TRANSPARENT", "TINY", "FLOWER", "FLAMMABLE_ASH", "NOCOLLIDE", "ORGANIC", "ROUGH", "PAINFUL" ],
"bash": {
"str_min": 2,
"str_max": 6,
"sound": "crunch.",
"sound_fail": "whish.",
"items": [ { "item": "withered", "prob": 50, "count": [ 1, 2 ] }, { "item": "alien_leaves", "count": [ 5, 9 ] } ]
}
},
{
"type": "furniture",
"id": "f_alien_weed_2",
"name": "alien plant",
"description": "An alien plant, a collection of delicate bluish-white strands with small white globes along their length. They seem to float almost like seaweed, despite being a terrestrial plant.",
"symbol": ",",
"move_cost_mod": 0,
"color": [ "white", "blue", "light_blue", "white" ],
"required_str": -1,
"flags": [ "TRANSPARENT", "TINY", "FLOWER", "FLAMMABLE_ASH", "NOCOLLIDE", "ORGANIC" ],
"bash": {
"str_min": 2,
"str_max": 6,
"sound": "crunch.",
"sound_fail": "whish.",
"items": [ { "item": "withered", "prob": 50, "count": [ 1, 2 ] }, { "item": "alien_leaves", "count": [ 1, 2 ] } ]
}
},
{
"type": "furniture",
"id": "f_alien_weed_3",
"name": "alien plant",
"description": "An alien plant, a single, cylindrical dark-red trunk with a small cluster of leaves on top. It makes a hollow sound when struck.",
"symbol": ",",
"move_cost_mod": 1,
"color": [ "red", "red", "light_red", "dark_gray" ],
"required_str": -1,
"flags": [ "TRANSPARENT", "TINY", "FLOWER", "FLAMMABLE_ASH", "NOCOLLIDE", "ORGANIC" ],
"bash": {
"str_min": 2,
"str_max": 6,
"sound": "crunch.",
"sound_fail": "whish.",
"items": [ { "item": "withered", "prob": 50, "count": [ 1, 2 ] }, { "item": "alien_leaves", "count": [ 2, 4 ] } ]
}
}
]
Loading

0 comments on commit 2130f54

Please sign in to comment.