Compare commits

..

8 Commits

Author SHA1 Message Date
Angela Graves 7485857311 Merge pull request #48769 from Saicchi/cappills
Cap duration of more effects
2021-05-07 03:47:26 -05:00
Zhilkin Serg a5242e0a81 Merge pull request #48760 from LyleSY/patch-14
thorny moose shambler fix
2021-05-07 10:28:52 +03:00
Zhilkin Serg cd13fdb4a0 Merge pull request #48776 from int-ua/patch-2
compose.py: use the default values when none provided in config
2021-05-07 10:27:31 +03:00
Zhilkin Serg f962680b25 Merge pull request #48762 from Zeropol/trident-looks-like-something
[Aftershock] make trident looks like pitchfork
2021-05-07 10:27:07 +03:00
Serhiy Zahoriya 29881a2bd8 compose.py: actually use the default values 2021-05-06 23:54:18 +03:00
Saicchi 347ca1a35f cap duration of more effects 2021-05-06 05:03:53 -03:00
zeropol e11276f351 make trident looks like pitchfork
Trident had only a symbol, and at the time of this commit had no sprite.
2021-05-05 22:09:44 +02:00
LyleSY 023fa5d1a0 thorny moose shambler fix 2021-05-05 14:50:48 -04:00
4 changed files with 37 additions and 13 deletions
+32 -9
View File
@@ -650,6 +650,8 @@
"id": "melatonin",
"name": [ "Melatonin Supplements" ],
"desc": [ "You took some melatonin supplements. These will help with sleep deprivation." ],
"max_duration": 100800,
"dur_add_perc": 60,
"rating": "good",
"blood_analysis_description": "Melatonin"
},
@@ -751,11 +753,14 @@
"type": "effect_type",
"id": "took_flumed",
"rating": "good",
"blood_analysis_description": "Antihistamines"
"blood_analysis_description": "Antihistamines",
"max_duration": 57600,
"dur_add_perc": 30
},
{
"type": "effect_type",
"id": "took_xanax",
"max_duration": 14400,
"dur_add_perc": 22,
"base_mods": { "stim_tick": [ 150 ], "stim_min": [ -1 ], "stim_min_val": [ -1 ] },
"rating": "good",
@@ -765,13 +770,17 @@
"type": "effect_type",
"id": "took_xanax_visible",
"name": [ "Took fast-acting sedative" ],
"desc": [ "You took a fast-acting sedative some time ago and you might still be under its influence." ]
"desc": [ "You took a fast-acting sedative some time ago and you might still be under its influence." ],
"max_duration": 18000,
"dur_add_perc": 20
},
{
"type": "effect_type",
"id": "took_prozac",
"rating": "good",
"blood_analysis_description": "Antidepressants"
"blood_analysis_description": "Antidepressants",
"max_duration": 64800,
"dur_add_perc": 40
},
{
"type": "effect_type",
@@ -781,7 +790,9 @@
"type": "effect_type",
"id": "took_prozac_visible",
"name": [ "Took antidepressant" ],
"desc": [ "You took an antidepressant some time ago and you might still be under its influence." ]
"desc": [ "You took an antidepressant some time ago and you might still be under its influence." ],
"max_duration": 72000,
"dur_add_perc": 35
},
{
"type": "effect_type",
@@ -794,7 +805,9 @@
"type": "effect_type",
"id": "took_thorazine",
"rating": "good",
"blood_analysis_description": "Antipsychotics"
"blood_analysis_description": "Antipsychotics",
"max_duration": 64800,
"dur_add_perc": 50
},
{
"type": "effect_type",
@@ -804,7 +817,9 @@
"type": "effect_type",
"id": "took_thorazine_visible",
"name": [ "Took antipsychotic" ],
"desc": [ "You took an antipsychotic some time ago and you might still be under its influence." ]
"desc": [ "You took an antipsychotic some time ago and you might still be under its influence." ],
"max_duration": 72000,
"dur_add_perc": 35
},
{
"type": "effect_type",
@@ -1083,6 +1098,8 @@
"type": "effect_type",
"id": "pblue",
"base_mods": { "rad_chance": [ 600 ], "rad_min": [ -1 ] },
"max_duration": 10800,
"dur_add_perc": 35,
"blood_analysis_description": "Prussian Blue",
"rating": "good"
},
@@ -1400,7 +1417,9 @@
"desc": [ "You have been vaccinated for the flu recently." ],
"blocks_effects": [ "flu" ],
"rating": "good",
"blood_analysis_description": "Antivirals"
"blood_analysis_description": "Antivirals",
"max_duration": 14515200,
"dur_add_perc": 50
},
{
"type": "effect_type",
@@ -1695,7 +1714,9 @@
"removes_effects": [ "shakes" ],
"base_mods": { "stim_tick": [ 150 ], "stim_chance": [ 2 ], "stim_min": [ 1 ], "stim_min_val": [ -1 ] },
"rating": "good",
"blood_analysis_description": "Benzodiazepines"
"blood_analysis_description": "Benzodiazepines",
"max_duration": 64800,
"dur_add_perc": 45
},
{
"type": "effect_type",
@@ -1705,7 +1726,9 @@
"You took anticonvulsant drugs some time ago and you might still be under its influence.\nPrescription note says its effect duration may vary, so your estimate may be inaccurate."
],
"rating": "good",
"blood_analysis_description": "Anticonvulsants"
"blood_analysis_description": "Anticonvulsants",
"max_duration": 64800,
"dur_add_perc": 40
},
{
"type": "effect_type",
+1 -1
View File
@@ -271,7 +271,7 @@
{
"id": "mon_zoose_thorny",
"type": "MONSTER",
"name": { "str": "thorny bear shambler" },
"name": { "str": "thorny moose shambler" },
"copy-from": "mon_zoose",
"description": "What once was a great moose is now covered with long, matted hair twisted with thorny vines that wrap together and then twist back into the body. Long interlocking thorns wrap the antlers, dripping with a mysterious silvery liquid.",
"species": [ "ZOMBIE", "PLANT" ],
+1
View File
@@ -245,6 +245,7 @@
{
"type": "GENERIC",
"id": "trident",
"looks_like": "pitchfork",
"name": { "str": "trident" },
"category": "tools",
"description": "A three pronged spear that is surface treated to be used confidently above and below water.",
+3 -3
View File
@@ -157,9 +157,9 @@ class Tileset:
with open(info_path, 'r') as file:
self.info = json.load(file)
self.sprite_width = self.info[0].get('width')
self.sprite_height = self.info[0].get('height')
self.pixelscale = self.info[0].get('pixelscale')
self.sprite_width = self.info[0].get('width', self.sprite_width)
self.sprite_height = self.info[0].get('height', self.sprite_height)
self.pixelscale = self.info[0].get('pixelscale', self.pixelscale)
# TODO: self.errors
self.error_logged = False