mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-29 03:32:28 +00:00
* Janitorial Quality of Life - Trash Bags fit in satchels/bags/duffelbags - Advanced Mops clean faster, can clean more - Holosign Projectors can create more signs - New Closet added, with janitorial stuff that was previously on the ground - Ghosts can no longer create dirt - Dirt creation slowed down - Janitorial Closet tidied up * Removes redundant check * Trash Bags become heavier with use * Fixes Map Merge not being done * Re-adds Box Refilling because I am an idiot Missing parenthesis, not even ONCE * Unblocks MULEbot docking area * Adds broken bulb recycling * Addresses Fox's/DZD's concerns * Adds sanity checks for NODROP
49 lines
1.4 KiB
Plaintext
49 lines
1.4 KiB
Plaintext
/obj/item/weapon/holosign_creator
|
|
name = "holographic sign projector"
|
|
desc = "A handy-dandy hologaphic projector that displays a janitorial sign."
|
|
icon = 'icons/obj/janitor.dmi'
|
|
icon_state = "signmaker"
|
|
item_state = "electronic"
|
|
force = 5
|
|
w_class = 2
|
|
throwforce = 0
|
|
throw_speed = 3
|
|
throw_range = 7
|
|
origin_tech = "programming=3"
|
|
var/list/signs = list()
|
|
var/max_signs = 20
|
|
|
|
/obj/item/weapon/holosign_creator/afterattack(atom/target, mob/user, flag)
|
|
if(flag)
|
|
var/turf/T = get_turf(target)
|
|
var/obj/effect/overlay/holograph/H = locate() in T
|
|
if(H)
|
|
to_chat(user, "<span class='notice'>You use [src] to destroy [H].</span>")
|
|
signs -= H
|
|
qdel(H)
|
|
else
|
|
if(signs.len < max_signs)
|
|
H = new(get_turf(target))
|
|
signs += H
|
|
to_chat(user, "<span class='notice'>You create \a [H] with [src].</span>")
|
|
else
|
|
to_chat(user, "<span class='notice'>[src] is projecting at max capacity!</span>")
|
|
|
|
/obj/item/weapon/holosign_creator/attack(mob/living/carbon/human/M, mob/user)
|
|
return
|
|
|
|
/obj/item/weapon/holosign_creator/attack_self(mob/user)
|
|
if(signs.len)
|
|
var/list/L = signs.Copy()
|
|
for(var/sign in L)
|
|
qdel(sign)
|
|
signs -= sign
|
|
to_chat(user, "<span class='notice'>You clear all active holograms.</span>")
|
|
|
|
/obj/effect/overlay/holograph
|
|
name = "wet floor sign"
|
|
desc = "The words flicker as if they mean nothing."
|
|
icon = 'icons/obj/janitor.dmi'
|
|
icon_state = "holosign"
|
|
anchored = 1
|