mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-02 13:33:29 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
6
html/changelogs/PrismaticGynoid - loadouttoys.yml
Normal file
6
html/changelogs/PrismaticGynoid - loadouttoys.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
author: PrismaticGynoid
|
||||
|
||||
delete-after: True
|
||||
|
||||
changes:
|
||||
- rscadd: "Adds a few toys to the loadout."
|
||||
Reference in New Issue
Block a user