Merge pull request #114 from evilew/snaxifixi

snaxi fixes and more tweaks
This commit is contained in:
evilew
2025-03-17 19:37:41 +01:00
committed by GitHub
11 changed files with 16951 additions and 11937 deletions
+6 -1
View File
@@ -12,6 +12,8 @@
* such collision by forcing a non-collision.
*/
var/rotated
//BLUEMOON FIX - ADDED BY GS13
var/initial_dir // Stores the initial direction of the decal
/datum/element/decal/Attach(atom/target, _icon, _icon_state, _dir, _cleanable=CLEAN_GOD, _color, _layer=TURF_LAYER, _description, _alpha=255, _rotated=FALSE)
. = ..()
@@ -20,6 +22,8 @@
description = _description
cleanable = _cleanable
rotated = _rotated
//BLUEMOON FIX - ADDED BY GS13
initial_dir = _dir // Store the initial direction
RegisterSignal(target,COMSIG_ATOM_UPDATE_OVERLAYS, PROC_REF(apply_overlay), TRUE)
if(isturf(target))
@@ -63,7 +67,8 @@
/datum/element/decal/proc/apply_overlay(atom/source, list/overlay_list)
SIGNAL_HANDLER
//BLUEMOON FIX - ADDED BY GS13
pic.dir = initial_dir // Use the initial direction instead of the turf's direction
overlay_list += pic
/datum/element/decal/proc/shuttlemove_react(datum/source, turf/newT)
+1 -1
View File
@@ -21,7 +21,7 @@ GLOBAL_LIST_EMPTY(announcement_systems)
var/arrivalToggle = TRUE
var/newhead = "%PERSON, %DISP_RANK (%RANK), is the department head."
var/newheadToggle = TRUE
var/cryostorage = "%PERSON, %RANK, has been moved into cryogenic storage." // this shouldnt be changed
var/cryostorage = "%PERSON, %RANK, has been moved into cryogenic storage and/or teleported to Central Command." // this shouldnt be changed //GS13 - sorry, changed it
var/greenlight = "Light_Green"
var/pinklight = "Light_Pink"
+1 -2
View File
@@ -46,5 +46,4 @@
var/turf/T = loc
if(!istype(T)) //you know this will happen somehow
CRASH("Turf decal initialized in an object/nullspace")
var/turn_dir = 180 - dir2angle(T.dir) //Turning a dir by 0 results in a roulette of random dirs.
T.AddElement(/datum/element/decal, icon, icon_state, turn_dir ? turn(dir, turn_dir) : dir, CLEAN_GOD, color, null, null, alpha, FALSE)
T.AddElement(/datum/element/decal, icon, icon_state, dir, CLEAN_GOD, color, null, null, alpha) //BLUEMOON FIX - ADDED BY GS13
@@ -39,3 +39,11 @@
gender = FEMALE
gold_core_spawnable = NO_SPAWN
unique_pet = TRUE
/mob/living/simple_animal/pet/fox/fennec //ported from CHOMPstation2
name = "fennec"
desc = "It's an earsy fennec fox."
icon = 'v_CHOMPstation2/icons/mob/fennec.dmi'
icon_state = "fennec"
icon_living = "fennec"
icon_dead = "fennec_dead"