Zombies upgrade (#17366)

* step 0

* sdad

* asdfsad

* safsad

* actual sprites for the bull from whitewolftamer

* Apply suggestions from code review

Co-authored-by: Cody Brittain <cbrittain10@yahoo.com>

* Update html/changelogs/fluffyghost-zombieupgrade.yml

Co-authored-by: Cody Brittain <cbrittain10@yahoo.com>

* sisyphus

---------

Co-authored-by: Cody Brittain <cbrittain10@yahoo.com>
This commit is contained in:
Fluffy
2023-10-17 21:05:27 +00:00
committed by GitHub
co-authored by Cody Brittain
parent c69513fa3f
commit f966e50ce1
22 changed files with 392 additions and 45 deletions
+1 -1
View File
@@ -227,7 +227,7 @@
// Its vital that if you make new power tools or new recipies that you include this
/obj/item/Initialize()
/obj/item/Initialize(mapload, ...)
. = ..()
if(islist(armor))
for(var/type in armor)
@@ -393,3 +393,31 @@
beakers += B1
beakers += B2
icon_state = initial(icon_state) +"_locked"
///Zombie-producing grenade
/obj/item/grenade/chem_grenade/trioxin
name = "trioxin grenade"
desc = "Concentrated trioxin. The lab really cooked for this one."
stage = 2
path = 1
/obj/item/grenade/chem_grenade/trioxin/Initialize()
. = ..()
var/obj/item/reagent_containers/glass/beaker/large/B1 = new(src)
var/obj/item/reagent_containers/glass/beaker/large/B2 = new(src)
B1.reagents.add_reagent(/singleton/reagent/phosphorus, 40)
B1.reagents.add_reagent(/singleton/reagent/potassium, 40)
B1.reagents.add_reagent(/singleton/reagent/toxin/trioxin, 40)
B2.reagents.add_reagent(/singleton/reagent/sugar, 40)
B2.reagents.add_reagent(/singleton/reagent/toxin/trioxin, 80)
detonator = new/obj/item/device/assembly_holder/timer_igniter(src)
var/obj/item/device/assembly/timer/tmr = detonator.a_left
tmr.time = 2
detonator.name = "[initial(detonator.name)] ([tmr.time] secs)"
beakers += B1
beakers += B2
icon_state = initial(icon_state) +"_locked"