forked from RedMisao/Cataclysm-DDA-Touhou-Expansion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththex_weather_type.json
109 lines (109 loc) · 3.21 KB
/
thex_weather_type.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
[
{
"id": "night_parade",
"type": "weather_type",
"name": "Misty",
"color": "red",
"map_color": "h_red",
"sym": "x",
"ranged_penalty": 0,
"sight_penalty": 1.0,
"light_modifier": -10,
"sound_attn": 0,
"dangerous": true,
"precip": "none",
"rains": false,
"acidic": false,
"duration_min": "8 h",
"duration_max": "10 h",
"required_weathers": [ "sunny" ],
"condition": {
"and": [ "is_night", { "compare_int": [ { "u_val": "var", "var_name": "night_parade_proc" }, "<", { "const": 4 } ] } ]
},
"//": "Should happen ONLY at night !!!",
"//2": "Super WIP: this should spawn lots of hostile youkai enemies, probably a mid-endgame weather or triggered event"
},
{
"id": "scarlet_fog",
"type": "weather_type",
"name": "Foggy",
"color": "red",
"map_color": "h_light_red",
"sym": ".",
"ranged_penalty": 3,
"sight_penalty": 1.2,
"light_modifier": -20,
"sun_multiplier": 0.4,
"sound_attn": 0,
"dangerous": false,
"precip": "none",
"rains": false,
"acidic": false,
"sound_category": "cloudy",
"required_weathers": [ "scarlet_mist" ],
"sun_intensity": "none",
"condition": {
"or": [
{ "compare_int": [ { "weather": "humidity" }, ">=", { "const": 97 } ] },
{ "compare_int": [ { "weather": "pressure" }, ">", { "const": 1005 } ] },
{ "compare_int": [ { "weather": "windpower" }, "<", { "const": 5 } ] },
{ "compare_int": [ { "weather": "windpower" }, ">", { "const": 1 } ] }
]
}
},
{
"id": "scarlet_mist",
"type": "weather_type",
"name": "Misty",
"color": "red",
"map_color": "h_light_red",
"sym": ".",
"ranged_penalty": 1,
"sight_penalty": 1.1,
"light_modifier": -15,
"sun_multiplier": 0.2,
"sound_attn": 0,
"dangerous": false,
"precip": "none",
"rains": false,
"acidic": false,
"sound_category": "cloudy",
"required_weathers": [ "cloudy" ],
"sun_intensity": "light",
"condition": {
"and": [
{ "compare_int": [ { "weather": "humidity" }, ">=", { "const": 98 } ] },
{ "compare_int": [ { "weather": "pressure" }, ">", { "const": 1010 } ] },
{ "compare_int": [ { "weather": "windpower" }, "<", { "const": 5 } ] },
{ "compare_int": [ { "weather": "windpower" }, ">", { "const": 1 } ] }
]
}
},
{
"id": "silence_hour",
"type": "weather_type",
"name": "Silence hour",
"color": "white",
"map_color": "white",
"sym": "x",
"ranged_penalty": 0,
"sight_penalty": 1.0,
"light_modifier": 0,
"sound_attn": 7,
"dangerous": true,
"precip": "none",
"rains": false,
"acidic": false,
"duration_min": "1 h",
"duration_max": "1 h",
"condition": {
"and": [
{ "compare_int": [ { "u_val": "var", "var_name": "silence_hour_proc" }, "<", { "const": 4 } ] },
{
"compare_int": [ { "global_val": "var", "var_name": "hour" }, "=", { "u_val": "var", "var_name": "silence_hour_hour" } ]
}
]
},
"//": "Super WIP: this should temporarily block enemy spawn and replace them for hostile special, fast ghost-like enemies, that don't attack but heavily debuff the PC"
}
]