mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 00:29:02 +01:00
[MIRROR] Refactors armor into dedicated subtypes [MDB IGNORE] (#18291)
* Refactors armor into dedicated subtypes * start * most tg things * pain (#18584) * shit * non-mod changes * compile Co-authored-by: John Doe <gamingskeleton3@gmail.com> * #18291 * compile fix * ??? Co-authored-by: Zephyr <12817816+ZephyrTFA@users.noreply.github.com> Co-authored-by: John Doe <gamingskeleton3@gmail.com> Co-authored-by: Zonespace <41448081+Zonespace27@users.noreply.github.com>
This commit is contained in:
co-authored by
John Doe
Zephyr
Zonespace
parent
9aac55ef4d
commit
011fefdd81
@@ -10,10 +10,13 @@
|
||||
pass_flags_self = PASSSTRUCTURE
|
||||
blocks_emissive = EMISSIVE_BLOCK_GENERIC
|
||||
var/broken = FALSE
|
||||
armor_type = /datum/armor/obj_structure
|
||||
|
||||
/datum/armor/obj_structure
|
||||
fire = 50
|
||||
acid = 50
|
||||
|
||||
/obj/structure/Initialize(mapload)
|
||||
if (!armor)
|
||||
armor = list(MELEE = 0, BULLET = 0, LASER = 0, ENERGY = 0, BOMB = 0, BIO = 0, FIRE = 50, ACID = 50)
|
||||
. = ..()
|
||||
if(smoothing_flags & (SMOOTH_CORNERS|SMOOTH_BITMASK))
|
||||
QUEUE_SMOOTH(src)
|
||||
|
||||
Reference in New Issue
Block a user