mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-17 20:47:29 +00:00
Makes acid levels a component.
Merges the acid effect object into the component.
Reworks acids decay rates slightly.
Rebalances xenos acid spit so that they can still melt through walls.
Misc. associated changes:
Adds defines for a lot of the acid associated constants.
Documents clean types and adds CLEAN_TYPE_ACID
Adds and implements a return bitflag for COMSIG_COMPONENT_CLEAN_ACT
Adds a looping sound for acid.
Makes /atom/proc/acid_act return a boolean.
Fixes waterclosets creating a new reagent holder datum every time they are used.
Removes waterclosets regenerating reagents on-use and restricts their reaction volume to 5 units.
Adds and implements a couple reagent signals.
Renames a few vars so Rohesie can stop telling me to rename more vars.
66 lines
1.4 KiB
Plaintext
66 lines
1.4 KiB
Plaintext
|
|
//objects in /obj/effect should never be things that are attackable, use obj/structure instead.
|
|
//Effects are mostly temporary visual effects like sparks, smoke, as well as decals, etc...
|
|
/obj/effect
|
|
icon = 'icons/effects/effects.dmi'
|
|
resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | UNACIDABLE | ACID_PROOF | FREEZE_PROOF
|
|
move_resist = INFINITY
|
|
obj_flags = NONE
|
|
vis_flags = VIS_INHERIT_PLANE
|
|
|
|
/obj/effect/take_damage(damage_amount, damage_type = BRUTE, damage_flag = 0, sound_effect = 1, attack_dir)
|
|
return
|
|
|
|
/obj/effect/fire_act(exposed_temperature, exposed_volume)
|
|
return
|
|
|
|
/obj/effect/acid_act()
|
|
return FALSE
|
|
|
|
/obj/effect/blob_act(obj/structure/blob/B)
|
|
return
|
|
|
|
/obj/effect/attack_hulk(mob/living/carbon/human/user)
|
|
return FALSE
|
|
|
|
/obj/effect/experience_pressure_difference()
|
|
return
|
|
|
|
/obj/effect/ex_act(severity, target)
|
|
if(target == src)
|
|
qdel(src)
|
|
else
|
|
switch(severity)
|
|
if(1)
|
|
qdel(src)
|
|
if(2)
|
|
if(prob(60))
|
|
qdel(src)
|
|
if(3)
|
|
if(prob(25))
|
|
qdel(src)
|
|
|
|
/obj/effect/singularity_act()
|
|
qdel(src)
|
|
|
|
/obj/effect/ConveyorMove()
|
|
return
|
|
|
|
/obj/effect/abstract/ex_act(severity, target)
|
|
return
|
|
|
|
/obj/effect/abstract/singularity_pull()
|
|
return
|
|
|
|
/obj/effect/abstract/singularity_act()
|
|
return
|
|
|
|
/obj/effect/abstract/has_gravity(turf/T)
|
|
return FALSE
|
|
|
|
/obj/effect/dummy/singularity_pull()
|
|
return
|
|
|
|
/obj/effect/dummy/singularity_act()
|
|
return
|