mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-29 02:21:44 +00:00
Meant to be part of #42864 , but got a little big so I'll add it to wichever gets merged last. [Snailcrawl demonstration](https://youtu.be/IL7WFpfRo4c) PROS - Gets snailcrawl, wich makes them greatly faster and gives them a lube trail - Their blood is spacelube - They get a cool armored nodrop snail shell - They don't slip CONS - Very slow - Punch is pathetic - Tttaaalllkkk llliiikkkeee ttthhhiiisss - Extremely vulnerable to salt - Can't wear glasses Adds gastrolisis, wich is pretty much [this](https://www.youtube.com/watch?v=lFbPi8o0OEU) spongebob episode where they slowly turn into snails You can also get gastrolisis by random_reagent_id, so maintpills and botany 🆑 add: Adds snailpeople as a rare genetics accident. sprite: Snailshell sprites by nickvr628 /🆑 Snailshell sprites by @nickvr628 Why: It's a silly gimmicky race and it's a rare occurence. Also extremely highly requested for some reason
45 lines
1.1 KiB
Plaintext
45 lines
1.1 KiB
Plaintext
/obj/item/storage
|
|
name = "storage"
|
|
icon = 'icons/obj/storage.dmi'
|
|
w_class = WEIGHT_CLASS_NORMAL
|
|
var/rummage_if_nodrop = TRUE
|
|
var/component_type = /datum/component/storage/concrete
|
|
|
|
/obj/item/storage/get_dumping_location(obj/item/storage/source,mob/user)
|
|
return src
|
|
|
|
/obj/item/storage/Initialize()
|
|
. = ..()
|
|
PopulateContents()
|
|
|
|
/obj/item/storage/ComponentInitialize()
|
|
AddComponent(component_type)
|
|
|
|
/obj/item/storage/AllowDrop()
|
|
return TRUE
|
|
|
|
/obj/item/storage/contents_explosion(severity, target)
|
|
for(var/atom/A in contents)
|
|
A.ex_act(severity, target)
|
|
CHECK_TICK
|
|
|
|
/obj/item/storage/canStrip(mob/who)
|
|
. = ..()
|
|
if(!. && rummage_if_nodrop)
|
|
return TRUE
|
|
|
|
/obj/item/storage/doStrip(mob/who)
|
|
if(has_trait(TRAIT_NODROP) && rummage_if_nodrop)
|
|
GET_COMPONENT(CP, /datum/component/storage)
|
|
CP.do_quick_empty()
|
|
return TRUE
|
|
return ..()
|
|
|
|
/obj/item/storage/contents_explosion(severity, target)
|
|
//Cyberboss says: "USE THIS TO FILL IT, NOT INITIALIZE OR NEW"
|
|
|
|
/obj/item/storage/proc/PopulateContents()
|
|
|
|
/obj/item/storage/proc/emptyStorage()
|
|
GET_COMPONENT(ST, /datum/component/storage)
|
|
ST.do_quick_empty() |