Skip to content

Commit

Permalink
Adds sprites for the laurelin bonsai tree (#8429)
Browse files Browse the repository at this point in the history
* Adds sprites for the laurelin bonsai tree

* modify a grand total amount of one annoying pixel
  • Loading branch information
Twomoon-Github authored Feb 15, 2024
1 parent 2a0d963 commit 12e8878
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions code/modules/reagents/bonsai.dm
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
name = "Laurelin bonsai"
desc = "A small tree, gifted to the club by a previous patron. It subsists off of numerous alcohols, and produces fruits and vegetables in return."

icon = 'icons/obj/plants.dmi'
icon_state = "plant-21" //Placeholder until we can get a proper sprite for them.
icon = 'icons/obj/bonsai.dmi'
icon_state = "bonsai_1"

volume = 100 //Average bottle volume
reagent_flags = OPENCONTAINER
Expand All @@ -26,6 +26,8 @@
..()
GLOB.all_faction_items[src] = GLOB.department_civilian
START_PROCESSING(SSobj, src)
icon_state = "bonsai_[rand(1, 4)]"
//make the bonsai a random color each round

/obj/item/reagent_containers/bonsai/Destroy()
STOP_PROCESSING(SSobj, src)
Expand Down Expand Up @@ -54,4 +56,4 @@
"wheat",
"potato",
"rice")]
S.harvest(get_turf(src),0,0,1)
S.harvest(get_turf(src),0,0,1)
Binary file added icons/obj/bonsai.dmi
Binary file not shown.
4 changes: 2 additions & 2 deletions maps/CEVEris/_CEV_Eris.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -105610,8 +105610,8 @@
/obj/structure/table/woodentable,
/obj/item/gun/projectile/shotgun/doublebarrel,
/obj/item/reagent_containers/bonsai{
pixel_x = 8;
pixel_y = 16
pixel_x = 0;
pixel_y = 0
},
/obj/machinery/atmospherics/unary/vent_scrubber/on{
dir = 1
Expand Down

0 comments on commit 12e8878

Please sign in to comment.