mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-21 12:02:31 +01:00
Various Tent Fixes (#19509)
- bugfix: "Fixed tents not allowing assembly/disassembly by someone who was interrupted." - bugfix: "Fixed tents having invisible walls inside of them." - bugfix: "Fixed ghosts being unable to see inside tents." - bugfix: "Fixed tent sprites to be 3/4th compliant." - bugfix: "Fixed tent roofs not disappering when you disassemble one you are inside of." - bugfix: "Fixed tent canvas not having a description." - bugfix: "Fixed pre-fabricated tents not being disassembleable."
This commit is contained in:
@@ -78,6 +78,7 @@
|
||||
stages[stage_to_do] = STAGE_PROGRESS
|
||||
if(!do_after(user, time_per_structure * LAZYLEN(target_turfs)))
|
||||
stages[stage_to_do] = STAGE_DISASSEMBLED
|
||||
interacting -= user
|
||||
return
|
||||
user.visible_message(SPAN_NOTICE("\The [user] finishes assembling the [stage_to_do]."))
|
||||
stages[stage_to_do] = STAGE_ASSEMBLED
|
||||
@@ -127,6 +128,7 @@
|
||||
stages[stage_to_do] = STAGE_PROGRESS
|
||||
if(!do_after(user, time_per_structure * LAZYLEN(grouped_structures)))
|
||||
stages[stage_to_do] = STAGE_ASSEMBLED
|
||||
interacting -= user
|
||||
return FALSE
|
||||
user.visible_message(SPAN_NOTICE("\The [user] finishes disassembling the [stage_to_do]."))
|
||||
stages[stage_to_do] = STAGE_DISASSEMBLED
|
||||
@@ -147,7 +149,7 @@
|
||||
return TRUE
|
||||
|
||||
/datum/large_structure/proc/structure_entered(var/turf/entry_point, var/atom/movable/entering)
|
||||
if(!isliving(entering))
|
||||
if(!(isliving(entering) || isobserver(entering)))
|
||||
return FALSE
|
||||
RegisterSignal(entering, COMSIG_MOVABLE_MOVED, PROC_REF(mob_moved), override = TRUE)
|
||||
return TRUE
|
||||
|
||||
Reference in New Issue
Block a user