Merge pull request #12659 from Very-Soft/tweaks

Adjusts trees and vendor spawners
This commit is contained in:
Casey
2022-04-05 20:56:02 -04:00
committed by CHOMPStation2
parent 0dd44e94bf
commit 97eccd40fa
3 changed files with 27 additions and 17 deletions

View File

@@ -4,8 +4,8 @@
base_state = "tree"
product = /obj/item/stack/material/log
product_amount = 20
health = 2000
max_health = 2000
health = 400
max_health = 400
pixel_x = -65
pixel_y = -8
layer = MOB_LAYER - 1
@@ -19,4 +19,14 @@
var/image/i = image('icons/obj/flora/moretrees_vr.dmi', "[icon_state]-b")
i.plane = ABOVE_MOB_PLANE
add_overlay(i)
add_overlay(i)
/obj/structure/flora/tree/bigtree/stump()
if(is_stump)
return
is_stump = TRUE
density = FALSE
icon_state = "[icon_state]_stump"
cut_overlays()
set_light(0)