literally everything Bhjin has been complaining about

also modularizes stuff and adds more comments. Like responsible downstream repos should have.
This commit is contained in:
Poojawa
2018-09-18 03:59:46 -05:00
parent dc9fd6db12
commit 7d300117af
11 changed files with 72 additions and 27 deletions
@@ -9,10 +9,11 @@
name = "inconspicious box"
desc = "It's so normal that you didn't notice it before."
icon_state = "agentbox"
move_speed_multiplier = 0.5
use_mob_movespeed = TRUE
/obj/structure/closet/cardboard/agent/proc/go_invisible()
animate(src, , alpha = 0, time = 5)
START_PROCESSING(SSobj, src)
/obj/structure/closet/cardboard/agent/Initialize()
. = ..()
@@ -24,7 +25,13 @@
qdel(src)
/obj/structure/closet/cardboard/agent/process()
alpha = max(0, alpha - 50)
//alpha = max(0, alpha - 50) //Citadel edit
animate(src, , alpha = alpha - 50, time = 3)
/obj/structure/closet/cardboard/agent/Move()
. = ..()
if(.)
alpha = min(alpha + 5, 255)
/obj/structure/closet/cardboard/agent/proc/reveal()
alpha = 255