[MIRROR] Create ERT refactor (#5924)

* Create ERT refactor (#36321)

cl Naksu
admin: ERT creation has been refactored to allow for easier customization and deployment via templates and settings
/cl

* Create ERT refactor
This commit is contained in:
CitadelStationBot
2018-03-12 07:30:03 -05:00
committed by Poojawa
parent 6a65ed49d0
commit c91006c27f
13 changed files with 446 additions and 178 deletions
+8
View File
@@ -293,6 +293,14 @@ update_label("John Doe", "Clowny")
access = get_all_accesses()+get_ert_access("med")-ACCESS_CHANGE_IDS
. = ..()
/obj/item/card/id/ert/chaplain
registered_name = "Religious Response Officer"
assignment = "Religious Response Officer"
/obj/item/card/id/ert/chaplain/Initialize()
access = get_all_accesses()+get_ert_access("sec")-ACCESS_CHANGE_IDS
. = ..()
/obj/item/card/id/prisoner
name = "prisoner ID card"
desc = "You are a number, you are not a free man."
@@ -550,3 +550,20 @@
beakers += B1
beakers += B2
/obj/item/grenade/chem_grenade/holy
name = "holy hand grenade"
desc = "A vessel of concentrated religious might."
icon_state = "holy_grenade"
stage = READY
/obj/item/grenade/chem_grenade/holy/Initialize()
. = ..()
var/obj/item/reagent_containers/glass/beaker/large/B1 = new(src)
var/obj/item/reagent_containers/glass/beaker/large/B2 = new(src)
B1.reagents.add_reagent("potassium", 100)
B2.reagents.add_reagent("holywater", 100)
beakers += B1
beakers += B2
+11
View File
@@ -274,6 +274,17 @@
qdel(S)
return ..()
/obj/item/nullrod/scythe/talking/chainsword
icon_state = "chainswordon"
item_state = "chainswordon"
name = "possessed chainsaw sword"
desc = "Suffer not a heretic to live."
slot_flags = SLOT_BELT
force = 30
attack_verb = list("sawed", "torn", "cut", "chopped", "diced")
hitsound = 'sound/weapons/chainsawhit.ogg'
/obj/item/nullrod/hammmer
icon_state = "hammeron"
item_state = "hammeron"
+9
View File
@@ -942,3 +942,12 @@ obj/item/storage/box/clown
/obj/item/storage/box/fountainpens/PopulateContents()
for(var/i in 1 to 7)
new /obj/item/pen/fountain(src)
/obj/item/storage/box/holy_grenades
name = "box of holy hand grenades"
desc = "Contains several grenades used to rapidly purge heresy."
illustration = "flashbang"
/obj/item/storage/box/holy_grenades/PopulateContents()
for(var/i in 1 to 7)
new/obj/item/grenade/chem_grenade/holy(src)