mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-05-23 15:47:38 +01:00
458c68143f
* actual phobia created * (LAST ATTEMPT) Adds Snakes 🆑 Togopal add: Snakes! They hunt vermin on the station! add: They can be purchased in cargo. /🆑 Mice can be a problem in late round random events, and I figured releasing a bunch of snakes in maintenance would be a more long-term solution than constantly running around with a crowbar when you hear them. Now with updated sprites! (I apologize heavily for uploading this three times. I was unaware I was using an older fork, as this was my first attempt at modifying the code.) * curator gets trauma! and fixes to snek trauma * fixes the travis error silly frog * Reduces the cost of a normal snake crate in Cargo. Adds retaliation to snakes upon being attacked, removes venom from regular snakes. I A * quick fix * quick fix 2 * fixes the cargo contains = list * go away TRAVIS * changes the name of the snake cargo crate of regular snakes to avoid confusion * Updates how some snake mechanics works Makes them actually retaliate, code is still sort of buggy though * Some orange fixes * Fix snakes on this motherfucking plane * The thing oranges said
55 lines
2.9 KiB
Plaintext
55 lines
2.9 KiB
Plaintext
SUBSYSTEM_DEF(traumas)
|
|
name = "Traumas"
|
|
flags = SS_NO_FIRE
|
|
var/list/phobia_types
|
|
var/list/phobia_words
|
|
var/list/phobia_mobs
|
|
var/list/phobia_objs
|
|
var/list/phobia_turfs
|
|
var/list/phobia_species
|
|
|
|
#define PHOBIA_FILE "phobia.json"
|
|
|
|
/datum/controller/subsystem/traumas/Initialize()
|
|
phobia_types = list("spiders", "space", "security", "clowns", "greytide", "lizards", "skeletons", "snakes")
|
|
|
|
phobia_words = list("spiders" = strings(PHOBIA_FILE, "spiders"),
|
|
"space" = strings(PHOBIA_FILE, "space"),
|
|
"security" = strings(PHOBIA_FILE, "security"),
|
|
"clowns" = strings(PHOBIA_FILE, "clowns"),
|
|
"greytide" = strings(PHOBIA_FILE, "greytide"),
|
|
"lizards" = strings(PHOBIA_FILE, "lizards"),
|
|
"skeletons" = strings(PHOBIA_FILE, "skeletons"),
|
|
"snakes" = strings(PHOBIA_FILE, "snakes")
|
|
)
|
|
|
|
phobia_mobs = list("spiders" = typecacheof(list(/mob/living/simple_animal/hostile/poison/giant_spider)),
|
|
"security" = typecacheof(list(/mob/living/simple_animal/bot/secbot)),
|
|
"lizards" = typecacheof(list(/mob/living/simple_animal/hostile/lizard)),
|
|
"snakes" = typecacheof(list(/mob/living/simple_animal/hostile/retaliate/poison/snake))
|
|
)
|
|
|
|
phobia_objs = list("spiders" = typecacheof(list(/obj/structure/spider)),
|
|
"security" = typecacheof(list(/obj/item/clothing/under/rank/security, /obj/item/clothing/under/rank/warden,
|
|
/obj/item/clothing/under/rank/head_of_security, /obj/item/clothing/under/rank/det,
|
|
/obj/item/melee/baton, /obj/item/gun/energy/taser, /obj/item/restraints/handcuffs,
|
|
/obj/machinery/door/airlock/security)),
|
|
"clowns" = typecacheof(list(/obj/item/clothing/under/rank/clown, /obj/item/clothing/shoes/clown_shoes,
|
|
/obj/item/clothing/mask/gas/clown_hat, /obj/item/device/instrument/bikehorn,
|
|
/obj/item/device/pda/clown, /obj/item/grown/bananapeel)),
|
|
"greytide" = typecacheof(list(/obj/item/clothing/under/color/grey, /obj/item/melee/baton/cattleprod,
|
|
/obj/item/twohanded/spear, /obj/item/clothing/mask/gas)),
|
|
"lizards" = typecacheof(list(/obj/item/toy/plush/lizardplushie, /obj/item/reagent_containers/food/snacks/kebab/tail,
|
|
/obj/item/organ/tail/lizard, /obj/item/reagent_containers/food/drinks/bottle/lizardwine)),
|
|
"skeletons" = typecacheof(list(/obj/item/organ/tongue/bone, /obj/item/clothing/suit/armor/bone, /obj/item/stack/sheet/bone,
|
|
/obj/item/reagent_containers/food/snacks/meat/slab/human/mutant/skeleton,
|
|
/obj/effect/decal/remains/human))
|
|
)
|
|
phobia_turfs = list("space" = typecacheof(list(/turf/open/space, /turf/open/floor/holofloor/space, /turf/open/floor/fakespace)))
|
|
|
|
phobia_species = list("lizards" = typecacheof(list(/datum/species/lizard)),
|
|
"skeletons" = typecacheof(list(/datum/species/skeleton, /datum/species/plasmaman))
|
|
)
|
|
|
|
#undef PHOBIA_FILE
|