mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-29 23:17:28 +01:00
Fixes swoopie runtime (#19404)
* swoopie runtime * fix this * adjustment * Update turf.dm
This commit is contained in:
@@ -72,7 +72,7 @@ GLOBAL_LIST_EMPTY(env_messages)
|
||||
if(!istype(src) || !get_turf(src) || !src.ckey)
|
||||
return
|
||||
|
||||
var/new_message = tgui_input_text(src, "Type in your message. It will be displayed to players who hover over the spot where you are right now. If you already have a message somewhere, it will be removed in the process. Please refrain from abusive or deceptive messages, but otherwise, feel free to be creative!", "Env Message", MAX_MESSAGE_LEN)
|
||||
var/new_message = tgui_input_text(src, "Type in your message. It will be displayed to players who hover over the spot where you are right now. If you already have a message somewhere, it will be removed in the process. Please refrain from abusive or deceptive messages, but otherwise, feel free to be creative!", "Env Message", max_length = MAX_MESSAGE_LEN)
|
||||
|
||||
if(!new_message)
|
||||
return
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
init_vore()
|
||||
Vac = new /obj/item/vac_attachment/swoopie(src)
|
||||
if(istype(Vac))
|
||||
Vac.output_dest = vore_selected
|
||||
Vac.output_dest = WEAKREF(vore_selected)
|
||||
Vac.vac_power = 3
|
||||
Vac.vac_owner = src
|
||||
|
||||
@@ -202,9 +202,10 @@
|
||||
L.remove_from_mob(Vac, src)
|
||||
else
|
||||
Vac.forceMove(src)
|
||||
if(!Vac.output_dest)
|
||||
var/atom/movable/vac_output = Vac.output_dest?.resolve()
|
||||
if(!vac_output)
|
||||
if(isbelly(vore_selected))
|
||||
Vac.output_dest = vore_selected
|
||||
Vac.output_dest = WEAKREF(vore_selected)
|
||||
if(!istype(T) || !istype(Vac) || !has_AI() || Vac.loc != src || stat)
|
||||
return
|
||||
if(istype(T, /turf/simulated))
|
||||
|
||||
Reference in New Issue
Block a user