mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 20:43:10 +01:00
co-authored by
DreamySkrell <>
parent
c48c3089dc
commit
2815bab234
@@ -417,3 +417,18 @@
|
||||
/datum/gear/lore_radio
|
||||
display_name = "analog radio"
|
||||
path = /obj/item/lore_radio
|
||||
|
||||
/datum/gear/pottedplant_small
|
||||
display_name = "potted plant"
|
||||
description = "A small potted plant."
|
||||
cost = 1
|
||||
path = /obj/item/flora/pottedplant_small/dead
|
||||
|
||||
/datum/gear/pottedplant_small/New()
|
||||
..()
|
||||
var/list/plants = list()
|
||||
for(var/plant_type in typesof(/obj/item/flora/pottedplant_small))
|
||||
var/obj/item/flora/pottedplant_small/plant = plant_type
|
||||
plants[initial(plant.name)] = plant_type
|
||||
sortTim(plants, GLOBAL_PROC_REF(cmp_text_asc))
|
||||
gear_tweaks += new /datum/gear_tweak/path(plants)
|
||||
|
||||
Reference in New Issue
Block a user