biogen/bush (#13029)

This commit is contained in:
Xxxxyobdab
2022-02-04 12:22:01 +01:00
committed by GitHub
parent ba6e7b6014
commit c781e1c7ff
5 changed files with 52 additions and 7 deletions
+5 -1
View File
@@ -246,7 +246,7 @@
icon_state = "firstbush_[rand(1, 4)]"
/obj/structure/flora/ausbushes/attackby(var/obj/item/W as obj, var/mob/user as mob)
if(istype(W,/obj/item/material/scythe/sickle))
if(istype(W,/obj/item/material/scythe))
if(prob(50))
new /obj/item/stack/material/wood(get_turf(src), 2)
if(prob(40))
@@ -259,6 +259,10 @@
to_chat(usr, "<span class='notice'>You slice at the bush!</span>")
qdel(src)
playsound(src.loc, 'sound/effects/woodcutting.ogg', 50, 1)
if(istype(W,/obj/item/material/hatchet))//no items
to_chat(usr, SPAN_NOTICE("You chop at the bush!"))
qdel(src)
playsound(src.loc, 'sound/effects/woodcutting.ogg', 50, 1)
/obj/structure/flora/ausbushes/reedbush
icon_state = "reedbush_1"