Files
Bubberstation/code/game/objects/structures/fans.dm
SkyratBot d91a009458 [MIRROR] wawastation stand-in shuttle (#28375)
* wawastation stand-in shuttle (#84232)

## About The Pull Request

![image](https://github.com/tgstation/tgstation/assets/70376633/1eacee70-2cdf-4d46-b653-d093d3112b7e)
"Due to a recent clerical error in the funding department, a lot of
funding went to lizard plushies. Due to the costs, Nanotrasen has
supplied a nearby garbage truck as a stand-in. Better learn how to share
spots."
## Why It's Good For The Game
every station has its shuttle

## Changelog
🆑
add: wawastation stand-in shuttle
/🆑

* wawastation stand-in shuttle

---------

Co-authored-by: jimmyl <70376633+mc-oofert@users.noreply.github.com>
2024-06-25 16:23:30 +05:30

56 lines
1.8 KiB
Plaintext

//Fans
/obj/structure/fans
icon = 'icons/obj/mining_zones/survival_pod.dmi'
icon_state = "fans"
name = "environmental regulation system"
desc = "A large machine releasing a constant gust of air."
anchored = TRUE
density = TRUE
var/buildstacktype = /obj/item/stack/sheet/iron
var/buildstackamount = 5
can_atmos_pass = ATMOS_PASS_NO
/obj/structure/fans/atom_deconstruct(disassembled = TRUE)
if(buildstacktype)
new buildstacktype(loc,buildstackamount)
/obj/structure/fans/wrench_act(mob/living/user, obj/item/I)
user.visible_message(span_warning("[user] disassembles [src]."),
span_notice("You start to disassemble [src]..."), span_hear("You hear clanking and banging noises."))
if(I.use_tool(src, user, 20, volume=50))
deconstruct(TRUE)
return TRUE
/obj/structure/fans/tiny
name = "tiny fan"
desc = "A tiny fan, releasing a thin gust of air."
layer = ABOVE_NORMAL_TURF_LAYER
density = FALSE
icon_state = "fan_tiny"
buildstackamount = 2
/obj/structure/fans/Initialize(mapload)
. = ..()
air_update_turf(TRUE, TRUE)
/obj/structure/fans/Destroy()
air_update_turf(TRUE, FALSE)
. = ..()
//Invisible, indestructible fans
/obj/structure/fans/tiny/invisible
name = "air flow blocker"
resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | UNACIDABLE | ACID_PROOF
invisibility = INVISIBILITY_ABSTRACT
/obj/structure/fans/tiny/shield
name = "shuttle bay shield"
desc = "An tenuously thin energy shield only capable of holding in air, but not solid objects or people."
icon = 'icons/effects/effects.dmi'
icon_state = "shield-old" // We should probably get these their own icon at some point
light_color = LIGHT_COLOR_BLUE
light_range = 4
/obj/structure/fans/tiny/shield/wrench_act(mob/living/user, obj/item/I)
return ITEM_INTERACT_SKIP_TO_ATTACK //how you gonna wrench disassemble a shield?????????