stuckage tweaks, voice of god

- added two commands to voice of god: inflation (activated by: "blimp, balloon, inflate, bloat") and weight gain: (activated by: "gain, fatten, widen, get fatter, get fat")
- fixed airlock stuckage messages, so the long one is only visible to the player, while bystanders get a short one
- added super-pacman to the hotel space ruin
This commit is contained in:
evilew
2024-03-08 13:41:01 +01:00
parent 14943097fc
commit 1d84e55661
3 changed files with 26 additions and 6 deletions
+2 -2
View File
@@ -497,7 +497,7 @@
"jC" = (/obj/machinery/atmospherics/pipe/manifold/supply/hidden{dir = 8},/turf/open/floor/plasteel,/area/ruin/space/has_grav/hotel/power)
"jD" = (/obj/machinery/atmospherics/components/unary/vent_pump/on{dir = 8},/turf/open/floor/plasteel,/area/ruin/space/has_grav/hotel/power)
"jE" = (/obj/effect/turf_decal/tile/yellow{dir = 4},/turf/open/floor/plasteel,/area/ruin/space/has_grav/hotel/power)
"jF" = (/obj/structure/extinguisher_cabinet{pixel_x = 30},/obj/effect/turf_decal/tile/yellow{dir = 1},/obj/effect/turf_decal/tile/yellow,/obj/effect/turf_decal/tile/yellow{dir = 4},/turf/open/floor/plasteel,/area/ruin/space/has_grav/hotel/power)
"jF" = (/obj/structure/extinguisher_cabinet{pixel_x = 30},/obj/effect/turf_decal/tile/yellow{dir = 1},/obj/effect/turf_decal/tile/yellow,/obj/effect/turf_decal/tile/yellow{dir = 4},/obj/machinery/power/port_gen/pacman/super,/obj/item/stack/sheet/mineral/uranium,/obj/item/stack/sheet/mineral/uranium,/obj/item/stack/sheet/mineral/uranium,/obj/item/stack/sheet/mineral/uranium,/obj/item/stack/sheet/mineral/uranium,/obj/item/stack/sheet/mineral/uranium,/obj/item/stack/sheet/mineral/uranium,/obj/item/stack/sheet/mineral/uranium,/obj/item/stack/sheet/mineral/uranium,/obj/item/stack/sheet/mineral/uranium,/obj/item/stack/sheet/mineral/uranium,/obj/item/stack/sheet/mineral/uranium,/obj/item/stack/sheet/mineral/uranium,/obj/item/stack/sheet/mineral/uranium,/obj/item/stack/sheet/mineral/uranium,/obj/item/stack/sheet/mineral/uranium,/obj/item/stack/sheet/mineral/uranium,/obj/item/stack/sheet/mineral/uranium,/obj/item/stack/sheet/mineral/uranium,/obj/item/stack/sheet/mineral/uranium,/obj/item/stack/sheet/mineral/uranium,/obj/item/stack/sheet/mineral/uranium,/obj/item/stack/sheet/mineral/uranium,/turf/open/floor/plasteel,/area/ruin/space/has_grav/hotel/power)
"jG" = (/turf/closed/wall,/area/ruin/space/has_grav/hotel/security)
"jH" = (/obj/effect/turf_decal/tile/red{dir = 1},/obj/effect/turf_decal/tile/red{dir = 4},/obj/effect/turf_decal/tile/red{dir = 8},/turf/open/floor/plasteel,/area/ruin/space/has_grav/hotel/security)
"jI" = (/obj/machinery/atmospherics/pipe/simple/scrubbers/hidden,/obj/effect/turf_decal/tile/red{dir = 1},/obj/effect/turf_decal/tile/red{dir = 4},/turf/open/floor/plasteel,/area/ruin/space/has_grav/hotel/security)
@@ -524,7 +524,7 @@
"kd" = (/obj/machinery/power/terminal,/obj/structure/cable/yellow{icon_state = "0-4"},/turf/open/floor/plasteel,/area/ruin/space/has_grav/hotel/power)
"ke" = (/obj/machinery/power/terminal,/obj/structure/cable/yellow{icon_state = "4-8"},/obj/structure/cable/yellow{icon_state = "0-4"},/turf/open/floor/plasteel,/area/ruin/space/has_grav/hotel/power)
"kf" = (/obj/structure/cable/yellow{icon_state = "2-8"},/obj/machinery/atmospherics/components/binary/valve/on{name = "Air Release Valve"},/turf/open/floor/plasteel,/area/ruin/space/has_grav/hotel/power)
"kg" = (/obj/machinery/light{dir = 4},/obj/effect/turf_decal/tile/yellow,/obj/effect/turf_decal/tile/yellow{dir = 4},/turf/open/floor/plasteel,/area/ruin/space/has_grav/hotel/power)
"kg" = (/obj/machinery/light{dir = 4},/obj/effect/turf_decal/tile/yellow,/obj/effect/turf_decal/tile/yellow{dir = 4},/obj/structure/closet/crate,/turf/open/floor/plasteel,/area/ruin/space/has_grav/hotel/power)
"kh" = (/obj/machinery/light{dir = 8},/obj/effect/turf_decal/tile/red{dir = 1},/obj/effect/turf_decal/tile/red{dir = 8},/turf/open/floor/plasteel,/area/ruin/space/has_grav/hotel/security)
"ki" = (/obj/machinery/atmospherics/pipe/simple/scrubbers/hidden,/turf/open/floor/plasteel,/area/ruin/space/has_grav/hotel/security)
"kj" = (/obj/structure/chair,/obj/machinery/atmospherics/pipe/simple/supply/hidden,/turf/open/floor/plasteel,/area/ruin/space/has_grav/hotel/security)
+8 -4
View File
@@ -7,29 +7,33 @@
// return 1
//GS13 stuckage code
obj/machinery/door/airlock/Crossed(mob/living/carbon/L)
if(L.fatness > 5000)
if(rand(1, 3) == 1)
L.doorstuck = 1
L.visible_message ("<span class='danger'>As you attempt to pass through \the [src], your ample curves get wedged in the narrow opening. You find yourself stuck in the [src] frame, struggling to free yourself from the tight squeeze.</span>")
L.visible_message("<span class'danger'>[L] gets stuck in the doorway!</span>")
to_chat(L, "<span class='danger'>As you attempt to pass through \the [src], your ample curves get wedged in the narrow opening. You find yourself stuck in the [src] frame, struggling to free yourself from the tight squeeze.</span>")
sleep(100)
L.doorstuck = 0
L.Knockdown(1)
return
else if(L.fatness > 1890)
if(rand(1, 5) == 1)
L.visible_message ("<span class='danger'>As you pass through \the [src], you feel a slight brushing against your hips. The [src] frame accommodates your form, but it's a close fit..</span>")
L.visible_message("<span class'danger'>[L]'s hips brush against the doorway...</span>")
to_chat(L, "<span class='danger'>As you pass through \the [src], you feel a slight brushing against your hips. The [src] frame accommodates your form, but it's a close fit..</span>")
return
else if(L.fatness > 3000)
if(rand(1, 5) == 1)
L.doorstuck = 1
L.visible_message ("<span class='danger'>As you attempt to pass through \the [src], your ample curves get wedged in the narrow opening. You find yourself stuck in the [src] frame, struggling to free yourself from the tight squeeze.</span>")
L.visible_message("<span class'danger'>[L] gets stuck in the doorway!</span>")
to_chat(L, "<span class='danger'>As you attempt to pass through \the [src], your ample curves get wedged in the narrow opening. You find yourself stuck in the [src] frame, struggling to free yourself from the tight squeeze.</span>")
sleep(55)
L.doorstuck = 0
L.Knockdown(1)
return
if(rand(1, 5) == 5)
L.visible_message ("<span class='danger'>With great effort, you manage to squeeze your massive form through \the [src]. It's a tight fit, but you successfully navigate the narrow opening, barely avoiding getting stuck.</span>")
to_chat(L, "<span class='danger'>With great effort, you manage to squeeze your massive form through \the [src]. It's a tight fit, but you successfully navigate the narrow opening, barely avoiding getting stuck.</span>")
return
/obj/machinery/door/airlock/abandoned
@@ -259,6 +259,8 @@
var/static/regex/dab_words = regex("dab|mood") //CITADEL CHANGE
var/static/regex/snap_words = regex("snap") //CITADEL CHANGE
var/static/regex/bwoink_words = regex("what the fuck are you doing|bwoink|hey you got a moment?") //CITADEL CHANGE
var/static/regex/gain_words = regex("gain|fatten|widen|get fatter|get fat") //GS13
var/static/regex/inflate_words = regex("blimp|balloon|inflate|bloat") //GS13
var/i = 0
//STUN
@@ -610,6 +612,20 @@
addtimer(CALLBACK(GLOBAL_PROC, .proc/playsound, get_turf(user), 'sound/effects/adminhelp.ogg', 300, 1), 25)
//END CITADEL CHANGES
//GS13 STUFF
//INFLATE
else if((findtext(message, inflate_words)))
cooldown = COOLDOWN_MEME
for(var/mob/living/carbon/gainer in listeners)
gainer.fullness += 200 //this probably needs a pref lock...
//GAIN
else if((findtext(message, gain_words)))
cooldown = COOLDOWN_MEME
for(var/mob/living/carbon/gainer in listeners)
gainer.adjust_fatness(500, FATTENING_TYPE_MAGIC)
else
cooldown = COOLDOWN_NONE