mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +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
@@ -12,7 +12,7 @@
|
||||
opacity = FALSE
|
||||
resistance_flags = FLAMMABLE
|
||||
max_integrity = 200
|
||||
armor = list(MELEE = 0, BULLET = 0, LASER = 0, ENERGY = 0, BOMB = 0, BIO = 0, FIRE = 50, ACID = 0)
|
||||
armor_type = /datum/armor/structure_bookcase
|
||||
var/state = BOOKCASE_UNANCHORED
|
||||
/// When enabled, books_to_load number of random books will be generated for this bookcase
|
||||
var/load_random_books = FALSE
|
||||
@@ -21,6 +21,9 @@
|
||||
/// How many random books to generate.
|
||||
var/books_to_load = 0
|
||||
|
||||
/datum/armor/structure_bookcase
|
||||
fire = 50
|
||||
|
||||
/obj/structure/bookcase/Initialize(mapload)
|
||||
. = ..()
|
||||
if(!mapload || QDELETED(src))
|
||||
@@ -184,6 +187,9 @@
|
||||
/obj/structure/bookcase/manuals/engineering
|
||||
name = "engineering manuals bookcase"
|
||||
|
||||
/datum/armor/structure_bookcase
|
||||
fire = 50
|
||||
|
||||
/obj/structure/bookcase/manuals/engineering/Initialize(mapload)
|
||||
. = ..()
|
||||
new /obj/item/book/manual/wiki/engineering_construction(src)
|
||||
@@ -195,6 +201,9 @@
|
||||
/obj/structure/bookcase/manuals/research_and_development
|
||||
name = "\improper R&D manuals bookcase"
|
||||
|
||||
/datum/armor/structure_bookcase
|
||||
fire = 50
|
||||
|
||||
/obj/structure/bookcase/manuals/research_and_development/Initialize(mapload)
|
||||
. = ..()
|
||||
new /obj/item/book/manual/wiki/research_and_development(src)
|
||||
|
||||
Reference in New Issue
Block a user