sane stacks (#18342)

* sane stacks

* .

* .

* .

* -

* clean that up

* .

* .

* fix chat scaling

* readd cords

* .

* guh

---------

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>
This commit is contained in:
Kashargul
2025-08-30 00:57:26 +02:00
committed by GitHub
parent b75a47b66d
commit fac274e5f9
21 changed files with 45 additions and 27 deletions
+1
View File
@@ -19,6 +19,7 @@
material_name = MAT_WOOD
material = get_material_by_name("[material_name]")
if(!material)
stack_trace("Material of type: [material_name] does not exist.")
return INITIALIZE_HINT_QDEL
color = material.icon_colour
@@ -24,6 +24,7 @@
material_name = MAT_WOOD
material = get_material_by_name("[material_name]")
if(!material)
stack_trace("Material of type: [material_name] does not exist.")
return INITIALIZE_HINT_QDEL
color = material.icon_colour
AddElement(/datum/element/climbable)
@@ -37,7 +37,7 @@
/obj/machinery/door/blast/puzzle/Initialize(mapload)
. = ..()
implicit_material = get_material_by_name("dungeonium")
implicit_material = get_material_by_name(MAT_ALIEN_DUNGEON)
if(locks.len)
return
var/check_range = world.view * checkrange_mult
@@ -30,6 +30,7 @@
new_material = MAT_STEEL
material = get_material_by_name(new_material)
if(!istype(material))
stack_trace("Material of type: [new_material] does not exist.")
return INITIALIZE_HINT_QDEL
if(new_padding_material)
padding_material = get_material_by_name(new_padding_material)
@@ -23,10 +23,11 @@
if(!new_material)
new_material = MAT_STEEL
material = get_material_by_name(new_material)
if(!istype(material))
stack_trace("Material of type: [new_material] does not exist.")
return INITIALIZE_HINT_QDEL
if(new_padding_material)
padding_material = get_material_by_name(new_padding_material)
if(!istype(material))
return INITIALIZE_HINT_QDEL
force = round(material.get_blunt_damage()*0.4)
update_icon()