-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
[WIP] Adds ability for weather to spawn monsters, and a new weather type, Mist, which uses it. #41067
[WIP] Adds ability for weather to spawn monsters, and a new weather type, Mist, which uses it. #41067
Changes from 27 commits
ddac9ce
ce3fbd0
8ff2a23
5514852
0c938ad
cb9e413
586cf33
df6c9e9
ca41221
8e567ef
8df740c
006c3d0
fb8db0a
f86ec0e
206f8ea
23d94b6
9c2e208
23d1f3b
cec091d
3ff368a
f9f7e06
6a6cb7c
9c75987
e0aa19e
210f5c1
55cdbc4
e8d36fe
042fb6d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
[ | ||
{ | ||
"id": "mon_mist_wraith", | ||
"type": "MONSTER", | ||
"name": { "str": "Mist wraith" }, | ||
"description": "A wispy figure slightly more solid than the mist surrounding it. Its form is constantly shifting and never distinct.", | ||
"default_faction": "mist", | ||
"species": [ "MIST" ], | ||
"volume": "62500 ml", | ||
"weight": "0 g", | ||
"hp": 1, | ||
"speed": 110, | ||
"symbol": "X", | ||
"color": "white", | ||
"aggression": 100, | ||
"morale": 100, | ||
"dodge": 8, | ||
"special_attacks": [ [ "DISSIPATE_DRAIN", 1 ] ], | ||
"death_function": [ "DISSIPATE" ], | ||
"flags": [ "FLIES", "NO_BREATHE", "SEES", "HEARS" ] | ||
}, | ||
{ | ||
"id": "mon_mist_spectre", | ||
"type": "MONSTER", | ||
"name": { "str": "Mist spectre" }, | ||
"description": "A menacing figure slightly more solid than the mist surrounding it. Its shape brings back painful memories.", | ||
"default_faction": "mist", | ||
"bodytype": "human", | ||
"species": [ "MIST" ], | ||
"volume": "62500 ml", | ||
"weight": "0 g", | ||
"hp": 1, | ||
"speed": 110, | ||
"symbol": "U", | ||
"color": "white", | ||
"aggression": 100, | ||
"morale": 100, | ||
"dodge": 9, | ||
"special_attacks": [ [ "DISSIPATE_NIGHTMARES", 1 ], [ "DISSIPATE_FORCE_SCREAM", 1 ] ], | ||
"death_function": [ "DISSIPATE" ], | ||
"flags": [ "FLIES", "NO_BREATHE", "SEES", "HEARS" ] | ||
}, | ||
{ | ||
"id": "mon_mist_phantom", | ||
"type": "MONSTER", | ||
"name": { "str": "Mist phantom" }, | ||
"description": "A hollow figure no more solid than the mist surrounding it.", | ||
"default_faction": "mist", | ||
"bodytype": "human", | ||
"species": [ "MIST" ], | ||
"volume": "62500 ml", | ||
"weight": "0 g", | ||
"hp": 1, | ||
"speed": 110, | ||
"symbol": "W", | ||
"color": "white", | ||
"aggression": 100, | ||
"morale": 100, | ||
"dodge": 10, | ||
"special_attacks": [ [ "DISSIPATE_INCORPOREAL", 1 ] ], | ||
"death_function": [ "DISSIPATE" ], | ||
"flags": [ "FLIES", "NO_BREATHE", "SEES", "HEARS" ] | ||
}, | ||
{ | ||
"id": "mon_mist_bag", | ||
"type": "MONSTER", | ||
"name": { "str": "Mist bag" }, | ||
"description": "A bag seemingly made of mist, it appears to be on the edge of bursting.", | ||
"default_faction": "mist", | ||
"bodytype": "human", | ||
"species": [ "MIST" ], | ||
"volume": "62500 ml", | ||
"weight": "0 g", | ||
"hp": 1, | ||
"speed": 70, | ||
"symbol": "B", | ||
"color": "white", | ||
"aggression": 100, | ||
"morale": 100, | ||
"special_attacks": [ [ "DISSIPATE", 1 ] ], | ||
"death_function": [ "RELEASE_MIST" ], | ||
"flags": [ "FLIES", "NO_BREATHE", "SEES", "HEARS" ] | ||
} | ||
] |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -916,7 +916,51 @@ | |
"base_acid": 0.0, | ||
"base_wind": 3.4, | ||
"base_wind_distrib_peaks": 80, | ||
"base_wind_season_variation": 50 | ||
"base_wind_season_variation": 50, | ||
"mist": { | ||
"mist_active": true, | ||
"mist_scaling": 1.0, | ||
"mist_frequency": 7, | ||
"mist_length": 8, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Duration should be randomized between a |
||
"mist_increases_per": 10, | ||
"mist_thick_threshold": 10, | ||
"mist_stifling_threshold": 20 | ||
}, | ||
"weather_spawn": [ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Spawns should be part of the weather objects. |
||
{ | ||
"index": 14, | ||
"hallucinations": true, | ||
"spawns": [ "mon_mist_wraith" ], | ||
"time_between_spawns": 60, | ||
"chance_to_spawn": 75, | ||
"max_spawns": 2, | ||
"max_radius": 8, | ||
"min_radius": 5, | ||
"message": "You feel the mist react to you and shapes form." | ||
}, | ||
{ | ||
"index": 15, | ||
"hallucinations": true, | ||
"spawns": [ "mon_mist_wraith", "mon_mist_spectre" ], | ||
"time_between_spawns": 50, | ||
"chance_to_spawn": 75, | ||
"max_spawns": 2, | ||
"max_radius": 6, | ||
"min_radius": 4, | ||
"message": "The mist reacts to you and nightmarish shapes form." | ||
}, | ||
{ | ||
"index": 16, | ||
"hallucinations": true, | ||
"spawns": [ "mon_mist_wraith", "mon_mist_spectre", "mon_mist_phantom" ], | ||
"time_between_spawns": 40, | ||
"chance_to_spawn": 75, | ||
"max_spawns": 3, | ||
"max_radius": 4, | ||
"min_radius": 3, | ||
"message": "The mist reflects your darkest thoughts and shapes form." | ||
} | ||
] | ||
}, | ||
"overmap_feature_flag_settings": { "clear_blacklist": false, "blacklist": [ ], "clear_whitelist": false, "whitelist": [ ] } | ||
} | ||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,53 @@ | ||||||
[ | ||||||
{ | ||||||
"type": "snippet", | ||||||
"category": "mist_increase_intensity", | ||||||
"text": [ "The mist thickens.", "The mist feels slightly stronger and more alive." ] | ||||||
}, | ||||||
{ | ||||||
"type": "snippet", | ||||||
"category": "mist_arrives", | ||||||
"text": [ | ||||||
"You blink and there is dense mist as far as you can see, which is much less than it used to be.", | ||||||
"In an instant a thick mist descends upon the world, far too fast to be natural. Or are you finally losing it?." | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
I think the 'losing it' bit inserts too much of the character's thoughts |
||||||
] | ||||||
}, | ||||||
{ | ||||||
"type": "snippet", | ||||||
"category": "mist_leaves", | ||||||
"text": [ "The mist evaporates like it was never there.", "In a heartbeat the mist is gone." ] | ||||||
}, | ||||||
{ | ||||||
"type": "snippet", | ||||||
"category": "mist_shouts", | ||||||
"text": [ | ||||||
"I'm sorry mommy!", | ||||||
"Please stop sir, that hurts!", | ||||||
"Why? I tried my best!", | ||||||
"No, please get up, please be ok!", | ||||||
"Why would you lie about THAT?", | ||||||
"I never loved you!", | ||||||
"I only ever tolerated you!", | ||||||
"That's why I never trusted you!", | ||||||
"It's not fair!", | ||||||
"Enjoy the funeral, you sicko!", | ||||||
"Help!", | ||||||
"Cmon I can still be fun, there's no need for that!", | ||||||
"I can do better, I promise, please!", | ||||||
"I'm going to kill that son of a bitch!", | ||||||
"That's no excuse!" | ||||||
] | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Consider importing other snippets here, to make the mist more confusing. eg.
This is a batch of generally concerning-sounding snippets that NPCs say, and if the mist often sounds like NPCs it will be really disorienting. |
||||||
}, | ||||||
{ | ||||||
"type": "snippet", | ||||||
"category": "nightmares", | ||||||
"text": [ | ||||||
"You awaken from a nightmare about being eaten alive while your friends applaud.", | ||||||
"You awaken from a nightmare about being naked in a the arctic tundra and freezing to death.", | ||||||
"You awaken from a nightmare about an unseen predator slowly killing you.", | ||||||
"You awaken from a nightmare about killing those you love with your bare hands.", | ||||||
"You awaken from a nightmare about being finally judged for your ill deeds.", | ||||||
"You awaken from a nightmare about the cataclysm not having happened and being stuck in an office job." | ||||||
] | ||||||
} | ||||||
] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be generalized to an array of localized weather objects with jsonized properties and effects.