mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 04:51:32 +01:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user