Adds some toys to the loadout

Adds a few toys, including action figures, to the loadout. Also fixes water flowers being unrefillable.
This commit is contained in:
PrismaticGynoid
2020-01-23 11:46:25 -08:00
parent af635d0978
commit f8ffd25caf
3 changed files with 37 additions and 1 deletions

View File

@@ -399,7 +399,7 @@
return
else if (istype(A, /obj/structure/reagent_dispensers/watertank) && get_dist(src,A) <= 1)
A.reagents.trans_to(src, 10)
A.reagents.trans_to_obj(src, 10)
user << "<span class='notice'>You refill your flower!</span>"
return

View File

@@ -50,6 +50,36 @@
plushies[initial(plushie_type.name)] = plushie_type
gear_tweaks += new/datum/gear_tweak/path(sortAssoc(plushies))
/datum/gear/figure
display_name = "action figure selection"
description = "A \"Space Life\" brand action figure."
path = /obj/item/toy/figure/
/datum/gear/figure/New()
..()
var/list/figures = list()
for(var/figure in typesof(/obj/item/toy/figure/) - /obj/item/toy/figure)
var/obj/item/toy/figure/figure_type = figure
figures[initial(figure_type.name)] = figure_type
gear_tweaks += new/datum/gear_tweak/path(sortAssoc(figures))
/datum/gear/toy
display_name = "toy selection"
description = "Choose from a number of toys."
path = /obj/item/toy/
/datum/gear/toy/New()
..()
var/toytype = list()
toytype["Blink toy"] = /obj/item/toy/blink
toytype["Gravitational singularity"] = /obj/item/toy/spinningtoy
toytype["Water flower"] = /obj/item/toy/waterflower
toytype["Bosun's whistle"] = /obj/item/toy/bosunwhistle
toytype["Magic 8 Ball"] = /obj/item/toy/eight_ball
toytype["Magic Conch shell"] = /obj/item/toy/eight_ball/conch
gear_tweaks += new/datum/gear_tweak/path(toytype)
/datum/gear/flask
display_name = "flask"
path = /obj/item/weapon/reagent_containers/food/drinks/flask/barflask

View File

@@ -0,0 +1,6 @@
author: PrismaticGynoid
delete-after: True
changes:
- rscadd: "Adds a few toys to the loadout."