the mime's force wall is now destructible (#20399)

* the mime's forcefield is now destructable

* semi-invisible

* Update code/game/objects/effects/forcefields.dm

Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>

* this should be fine, if this breaks we'll know quickly

Co-authored-by: Farie82 <farie82@users.noreply.github.com>

---------

Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>
Co-authored-by: Farie82 <farie82@users.noreply.github.com>
This commit is contained in:
GDN
2023-03-06 23:50:41 -05:00
committed by GitHub
co-authored by SteelSlayer Farie82
parent dd47769567
commit c7d3492514
2 changed files with 29 additions and 3 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
desc = "The mime's performance transmutates into physical reality."
school = "mime"
panel = "Mime"
summon_type = list(/obj/effect/forcefield/mime)
summon_type = list(/obj/structure/forcefield/mime)
invocation_type = "emote"
invocation_emote_self = "<span class='notice'>You form a wall in front of yourself.</span>"
summon_lifespan = 20 SECONDS
+28 -2
View File
@@ -29,12 +29,38 @@
///////////Mimewalls///////////
/obj/effect/forcefield/mime
icon_state = "empty"
/obj/structure/forcefield
name = "ain't supposed to see this"
desc = "file a github report if you do!"
icon = 'icons/effects/effects.dmi'
density = TRUE
anchored = TRUE
var/blocks_atmos = TRUE
/obj/structure/forcefield/Initialize(mapload)
. = ..()
if(blocks_atmos)
air_update_turf(TRUE)
/obj/structure/forcefield/Destroy()
if(blocks_atmos)
blocks_atmos = FALSE
air_update_turf(TRUE)
return ..()
/obj/structure/forcefield/CanAtmosPass(turf/T)
return !blocks_atmos
/obj/structure/forcefield/mime
icon = 'icons/effects/effects.dmi'
icon_state = "5"
name = "invisible wall"
alpha = 1
desc = "You have a bad feeling about this."
max_integrity = 80
/obj/effect/forcefield/mime/advanced
icon_state = "empty"
name = "invisible blockade"
desc = "You might be here a while."
lifetime = 60 SECONDS