Skip to content

Commit

Permalink
bugfix: Earings in loadout (#6129)
Browse files Browse the repository at this point in the history
  • Loading branch information
lolybomb authored Nov 4, 2024
1 parent 0c0377f commit 1036de4
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
6 changes: 6 additions & 0 deletions code/modules/client/preference/loadout/loadout_donor.dm
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,12 @@
donator_tier = 3
cost = 1

/datum/gear/donor/earring_NT
display_name = "Earrings NT"
path = /obj/item/clothing/ears/earrings/Nt
donator_tier = 3
cost = 1

/datum/gear/donor/hijab
donator_tier = 1
cost = 1
Expand Down
11 changes: 11 additions & 0 deletions code/modules/client/preference/loadout/loadout_general.dm
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,17 @@
display_name = "a cheap lighter"
path = /obj/item/lighter

/datum/gear/earrings
display_name = "earrings, select"
path = /obj/item/clothing/ears/earrings

/datum/gear/earrings/New()
..()
var/list/earrings = list("silver" = /obj/item/clothing/ears/earrings/silver,
"gold" = /obj/item/clothing/ears/earrings
)
gear_tweaks += new /datum/gear_tweak/path(earrings, src)

/datum/gear/matches
display_name = "a box of matches"
path = /obj/item/storage/box/matches
Expand Down

0 comments on commit 1036de4

Please sign in to comment.