mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 12:29:46 +01:00
Added a ruins UT (#18290)
* sdfa * fas * the godness guides, the godness protects * sadf * sdf * fsa * exoplanets_ruins config for UT * sdaf * sdf * curse upon me
This commit is contained in:
@@ -88,10 +88,16 @@
|
||||
var/refill_rate = 0.5 //Rate per process() tick mop refills itself
|
||||
var/refill_reagent = /singleton/reagent/water //Determins what reagent to use for refilling, just in case someone wanted to make a HOLY MOP OF PURGING
|
||||
|
||||
/obj/item/mop/advanced/New()
|
||||
..()
|
||||
/obj/item/mop/advanced/Initialize()
|
||||
. = ..()
|
||||
|
||||
START_PROCESSING(SSprocessing, src)
|
||||
|
||||
/obj/item/mop/advanced/Destroy()
|
||||
STOP_PROCESSING(SSprocessing, src)
|
||||
|
||||
. = ..()
|
||||
|
||||
/obj/item/mop/advanced/attack_self(mob/user)
|
||||
refill_enabled = !refill_enabled
|
||||
if(refill_enabled)
|
||||
@@ -108,8 +114,3 @@
|
||||
/obj/item/mop/advanced/examine(mob/user)
|
||||
. = ..()
|
||||
to_chat(user, SPAN_NOTICE("\The condenser switch is set to <b>[refill_enabled ? "ON" : "OFF"]</b>."))
|
||||
|
||||
/obj/item/mop/advanced/Destroy()
|
||||
if(refill_enabled)
|
||||
STOP_PROCESSING(SSprocessing, src)
|
||||
return ..()
|
||||
|
||||
@@ -300,7 +300,7 @@ GLOBAL_LIST_EMPTY(total_active_bonfires)
|
||||
/obj/structure/bonfire/proc/burn(var/mob/living/M, var/entered = FALSE)
|
||||
if(safe)
|
||||
return
|
||||
if(M && prob((fuel / max_fuel) * 100))
|
||||
if(istype(M) && prob((fuel / max_fuel) * 100))
|
||||
if(entered)
|
||||
to_chat(M, SPAN_WARNING("You are covered by fire and heat from entering \the [src]!"))
|
||||
if(isanimal(M))
|
||||
|
||||
Reference in New Issue
Block a user