mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
Adds hydroponics shrubs, allowing botanists to grow hedges. (#55496)
Replaces one of the rainbow seeds in the exotic seeds crate with a pack of shrub seeds. Adds a new, growable seed species for shrubs. Shrubs, when planted (similar to kudzu!) plants a solid, weak barrier in hedges. These hedges block vision, unless trimmed. Thankfully, we already have a hedge trimming skillchip, so using a sharp implement on the hedge will make it non-opaque.
This commit is contained in:
@@ -260,6 +260,16 @@
|
||||
density = TRUE
|
||||
anchored = TRUE
|
||||
deconstructible = FALSE
|
||||
max_integrity = 80
|
||||
|
||||
/obj/structure/fluff/hedge/attacked_by(obj/item/I, mob/living/user)
|
||||
if(opacity && HAS_TRAIT(user, TRAIT_BONSAI) && I.get_sharpness())
|
||||
to_chat(user,"<span class='notice'>You start trimming \the [src].</span>")
|
||||
if(do_after(user, 3 SECONDS,target=src))
|
||||
to_chat(user,"<span class='notice'>You finish trimming \the [src].</span>")
|
||||
opacity = FALSE
|
||||
else
|
||||
return ..()
|
||||
|
||||
/obj/structure/fluff/hedge/opaque //useful for mazes and such
|
||||
opacity = TRUE
|
||||
|
||||
Reference in New Issue
Block a user