mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-08-24 04:26:38 +01:00
Merge pull request #443 from Shadowfire117/master
Fossilized plants can be cleaned to get exotic and ancient seeds!
This commit is contained in:
@@ -94,11 +94,13 @@
|
||||
icon_state = "shell"
|
||||
desc = "It's a fossilised shell."
|
||||
|
||||
/obj/item/weapon/fossil/plant
|
||||
name = "Fossilised plant"
|
||||
icon_state = "plant1"
|
||||
desc = "It's fossilised plant remains."
|
||||
animal = 0
|
||||
|
||||
/obj/item/weapon/fossil/plant/New()
|
||||
icon_state = "plant[rand(1,4)]"
|
||||
|
||||
/obj/item/weapon/fossil/plant/attackby(var/obj/item/I, var/mob/user)
|
||||
if(istype(I, /obj/item/weapon/pickaxe/brush))
|
||||
new /obj/item/seeds/random(get_turf(user),name)
|
||||
if(prob(25))
|
||||
new /obj/item/seeds/random(get_turf(user),name)
|
||||
visible_message("<span class='info'>\The [src] is brushed away, revealing ancient seeds.</span>")
|
||||
qdel(src)
|
||||
Reference in New Issue
Block a user