mirror of
https://github.com/KabKebab/GS13.git
synced 2026-08-27 23:16:19 +01:00
This commit is contained in:
@@ -61,7 +61,19 @@
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/grown/holymelon/Initialize()
|
||||
. = ..()
|
||||
AddComponent(/datum/component/anti_magic, TRUE, TRUE) //deliver us from evil o melon god
|
||||
var/uses = 1
|
||||
if(seed)
|
||||
uses = round(seed.potency / 20)
|
||||
AddComponent(/datum/component/anti_magic, TRUE, TRUE, FALSE, uses, TRUE, CALLBACK(src, .proc/block_magic), CALLBACK(src, .proc/expire)) //deliver us from evil o melon god
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/grown/holymelon/proc/block_magic(mob/user, major)
|
||||
if(major)
|
||||
visible_message("<span class='warning'>[src] hums slightly, and seems to decay a bit.</span>")
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/grown/holymelon/proc/expire(mob/user)
|
||||
visible_message("<span class='warning'>[src] rapidly turns into ash!</span>")
|
||||
qdel(src)
|
||||
new /obj/effect/decal/cleanable/ash(drop_location())
|
||||
|
||||
//Milkmelon
|
||||
/obj/item/seeds/watermelon/milk
|
||||
@@ -83,4 +95,4 @@
|
||||
filling_color = "#FFAABB"
|
||||
dried_type = null
|
||||
wine_power = 30
|
||||
wine_flavor = "creamy"
|
||||
wine_flavor = "creamy"
|
||||
|
||||
Reference in New Issue
Block a user