mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 14:39:58 +01:00
[MIRROR] Adds the Smoking Room icebox surface ruin [MDB IGNORE] (#19883)
* Adds the Smoking Room icebox surface ruin (#73876) ## About The Pull Request My contribution to the March Into Mapping/Mapness event -- The forlorn homestead of mister Charles Morlbaro, a high-brow individual with a taste for cigarettes. This ruin spawns on the surface level of Icebox.  A local of the ice planet, Morlbaro lived a peaceful life at home, until an _incident_ compromised one of his windows. Fearing the cold and unable to keep anything larger than a cigarette lit, he sequestered himself in his private smoking room, and hasn't been seen since. ... Oh, right, the loot. That's the most important part for some of you guys.  Where there's smoke, there's fire, and where there's cigarettes, there's lighters. Mister Morlbaro collected novelty lighters, which have to be worth something to someone, right? You might be able to find some if you dig around in his belongings. Just try not to disturb him if you choose to enter his smoking room. ### Mapping March <!-- If your pull request is part of Mapping March and you want to earn an antagonist token for your FIRST mapping pull request submitted this month, please include your ckey. For more information, read about the event here: https://hackmd.io/@ EOBGames/BkwuRlxkh --> Ckey to recieve rewards: theduffelbag ## Why It's Good For The Game Ruin variety is nice. This one doesn't have any particularly spectacular loot, but it's a surface ruin. Bro space ruins are sooooo 2020 bro, it's all about icebox ruins now bro. ## Changelog 🆑 Rhials add: Adds the Smoking Room icebox ruin, found on the station level! /🆑 * Adds the Smoking Room icebox surface ruin --------- Co-authored-by: Rhials <Datguy33456@gmail.com>
This commit is contained in:
@@ -14,6 +14,38 @@
|
||||
desc = "They look like human remains. They have a strange aura about them."
|
||||
icon_state = "remains"
|
||||
|
||||
/obj/effect/decal/remains/human/smokey
|
||||
desc = "They look like human remains. They have a strange, smokey aura about them..."
|
||||
///Our proximity monitor, for detecting nearby looters.
|
||||
var/datum/proximity_monitor/proximity_monitor
|
||||
///The reagent we will release when our remains are disturbed.
|
||||
var/datum/reagent/that_shit_that_killed_saddam
|
||||
COOLDOWN_DECLARE(gas_cooldown)
|
||||
|
||||
/obj/effect/decal/remains/human/smokey/Initialize(mapload)
|
||||
. = ..()
|
||||
|
||||
proximity_monitor = new(src, 0)
|
||||
that_shit_that_killed_saddam = get_random_reagent_id()
|
||||
|
||||
/obj/effect/decal/remains/human/smokey/HasProximity(atom/movable/tomb_raider)
|
||||
if(!COOLDOWN_FINISHED(src, gas_cooldown))
|
||||
return
|
||||
|
||||
if(iscarbon(tomb_raider))
|
||||
var/mob/living/carbon/nearby_carbon = tomb_raider
|
||||
if (nearby_carbon.m_intent != MOVE_INTENT_WALK || prob(15))
|
||||
release_smoke(nearby_carbon)
|
||||
COOLDOWN_START(src, gas_cooldown, rand(20 SECONDS, 2 MINUTES))
|
||||
|
||||
/obj/effect/decal/remains/human/smokey/proc/release_smoke(mob/living/smoke_releaser)
|
||||
visible_message(span_warning("[smoke_releaser] disturbs the [src], which releases a huge cloud of gas!"))
|
||||
var/datum/effect_system/fluid_spread/smoke/chem/cigarette_puff = new()
|
||||
cigarette_puff.chemholder.add_reagent(that_shit_that_killed_saddam, 15)
|
||||
cigarette_puff.attach(get_turf(src))
|
||||
cigarette_puff.set_up(range = 2, amount = DIAMOND_AREA(2), holder = src, location = get_turf(src), silent = TRUE)
|
||||
cigarette_puff.start()
|
||||
|
||||
/obj/effect/decal/remains/plasma
|
||||
icon_state = "remainsplasma"
|
||||
|
||||
|
||||
@@ -933,6 +933,58 @@ CIGARETTE PACKETS ARE IN FANCY.DM
|
||||
overlay_state = "slime"
|
||||
grind_results = list(/datum/reagent/iron = 1, /datum/reagent/fuel = 5, /datum/reagent/medicine/pyroxadone = 5)
|
||||
|
||||
/obj/item/lighter/skull
|
||||
name = "badass zippo"
|
||||
desc = "An absolutely badass zippo lighter. Just look at that skull!"
|
||||
overlay_state = "skull"
|
||||
|
||||
/obj/item/lighter/mime
|
||||
name = "pale zippo"
|
||||
desc = "In lieu of fuel, performative spirit can be used to light cigarettes."
|
||||
icon_state = "mlighter" //These ones don't show a flame.
|
||||
light_color = LIGHT_COLOR_HALOGEN
|
||||
heat = 0 //I swear it's a real lighter dude you just can't see the flame dude I promise
|
||||
overlay_state = "mime"
|
||||
grind_results = list(/datum/reagent/iron = 1, /datum/reagent/toxin/mutetoxin = 5, /datum/reagent/consumable/nothing = 10)
|
||||
light_range = 0
|
||||
light_power = 0
|
||||
fancy = FALSE
|
||||
|
||||
/obj/item/lighter/mime/ignition_effect(atom/A, mob/user)
|
||||
. = span_infoplain("[user] lifts the [name] to the [A], which miraculously lights!")
|
||||
|
||||
/obj/item/lighter/bright
|
||||
name = "illuminative zippo"
|
||||
desc = "Sustains an incredibly bright chemical reaction when you spark it. Avoid looking directly at the igniter when lit."
|
||||
icon_state = "slighter"
|
||||
light_color = LIGHT_COLOR_ELECTRIC_CYAN
|
||||
overlay_state = "bright"
|
||||
grind_results = list(/datum/reagent/iron = 1, /datum/reagent/flash_powder = 10)
|
||||
light_range = 8
|
||||
light_power = 3 //Irritatingly bright and large enough to cover a small room.
|
||||
fancy = FALSE
|
||||
|
||||
/obj/item/lighter/bright/examine(mob/user)
|
||||
. = ..()
|
||||
|
||||
if(lit && isliving(user))
|
||||
var/mob/living/current_viewer = user
|
||||
current_viewer.flash_act(4)
|
||||
|
||||
/obj/item/lighter/bright/ignition_effect(atom/A, mob/user)
|
||||
if(get_temperature())
|
||||
. = span_infoplain(span_rose("[user] lifts the [src] to the [A], igniting it with a brilliant flash of light!"))
|
||||
var/mob/living/current_viewer = user
|
||||
current_viewer.flash_act(4)
|
||||
|
||||
/obj/effect/spawner/random/special_lighter
|
||||
name = "special lighter spawner"
|
||||
icon_state = "lighter"
|
||||
loot = list(
|
||||
/obj/item/lighter/skull,
|
||||
/obj/item/lighter/mime,
|
||||
/obj/item/lighter/bright,
|
||||
)
|
||||
|
||||
///////////
|
||||
//ROLLING//
|
||||
|
||||
Reference in New Issue
Block a user