forked from Baystation12/Baystation12
-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Daeberdir <[email protected]>
- Loading branch information
1 parent
8cd149f
commit 7165875
Showing
44 changed files
with
963 additions
and
660 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/datum/gear | ||
var/list/allowed_factions //Background factions required to spawn with this item. | ||
|
||
/datum/gear/plush_toy | ||
var/list/toy_list = list( | ||
"diona nymph plush" = /obj/item/toy/plushie/nymph, | ||
"mouse plush" = /obj/item/toy/plushie/mouse, | ||
"kitten plush" = /obj/item/toy/plushie/kitten, | ||
"lizard plush" = /obj/item/toy/plushie/lizard, | ||
"crow plush" = /obj/item/toy/plushie/crow, | ||
"spider plush" = /obj/item/toy/plushie/spider, | ||
"farwa plush" = /obj/item/toy/plushie/farwa, | ||
"golden carp plush" = /obj/item/toy/plushie/carp_gold, | ||
"purple carp plush" = /obj/item/toy/plushie/carp_purple, | ||
"pink carp plush" = /obj/item/toy/plushie/carp_pink, | ||
"corgi plush" = /obj/item/toy/plushie/corgi, | ||
"corgi plush with bow" = /obj/item/toy/plushie/corgi_bow, | ||
"deer plush" = /obj/item/toy/plushie/deer, | ||
"blue squid plush" = /obj/item/toy/plushie/squid_blue, | ||
"orange squid plush" = /obj/item/toy/plushie/squid_orange | ||
) | ||
|
||
/datum/gear/plush_toy/New() // Now it can be used to add your own toys in different mods. Example in 'mods\resomi\code\datum\gear.dm'. | ||
..() | ||
gear_tweaks.Cut() | ||
gear_tweaks += gear_tweak_free_name(display_name) | ||
gear_tweaks += gear_tweak_free_desc(description) | ||
var/list/completed_list = list() | ||
for(var/plush_name in toy_list) | ||
var/plush_path = toy_list[plush_name] | ||
completed_list[plush_name] = plush_path | ||
gear_tweaks += new /datum/gear_tweak/path(completed_list) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.