Skip to content
This repository has been archived by the owner on Jun 29, 2024. It is now read-only.

Commit

Permalink
Stone Digging!
Browse files Browse the repository at this point in the history
  • Loading branch information
DerFlammenwerfer authored Jun 19, 2024
1 parent 3adb673 commit 823c38c
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions code/modules/roguetown/roguejobs/gravedigger/hole.dm
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@
var/mob/living/carbon/human/B = A
B.buried = FALSE
..()

/obj/structure/closet/dirthole/open(mob/living/user)
if(opened)
return
Expand Down Expand Up @@ -284,9 +284,13 @@
else
new /obj/item/natural/worms(T)
else
if(!(locate(/obj/item/natural/stone) in T))
if(prob(23))
new /obj/item/natural/stone(T)
if((locate(/obj/structure/flora/newtree) in view(1)) && !(locate(/obj/item/grown/log/tree/stick) in T))
if(prob(33))
new /obj/item/grown/log/tree/stick(T)
else
if(!(locate(/obj/item/natural/stone) in T))
if(prob(33))
new /obj/item/natural/stone(T)
return ..()

/obj/structure/closet/dirthole/Destroy()
Expand Down

0 comments on commit 823c38c

Please sign in to comment.