mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-29 19:43:16 +00:00
Minor plant controller refactor.
This commit is contained in:
@@ -8,13 +8,11 @@
|
||||
var/plantname
|
||||
var/potency = 1
|
||||
|
||||
/obj/item/weapon/grown/New(newloc,planttype)
|
||||
/obj/item/weapon/grown/Initialize(ml, planttype)
|
||||
|
||||
..()
|
||||
. = ..()
|
||||
|
||||
var/datum/reagents/R = new/datum/reagents(50)
|
||||
reagents = R
|
||||
R.my_atom = src
|
||||
create_reagents(50)
|
||||
|
||||
//Handle some post-spawn var stuff.
|
||||
if(planttype)
|
||||
|
||||
Reference in New Issue
Block a user