mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 02:24:11 +01:00
Datumizes Cult. (#24379)
* cult 1 * massive data refactor * progress * More crap * IM SCARED IT COMPILES * oops * more fixes * good comment * hell yeah, team control * lol * blamo * blam * More stuff * team refactor * epic merge fail * src not _src_ * more * progress * cult * more stuff * water * goodbye __IMPLIED_TYPE__ * time to undraft * FUCK FUCK FUCK * okay this is better * goodbye todos * fix * order of operations * last fix? maybe * yeah * oops * okay this should be ALL the fixes * wow * hell yeah * wow * fixes duplicate teams + adds more team safeties * how the fuck did this happen * admin objective improvements * wah more bullshit * guh * fuuuuck * fucking hell * fixes
This commit is contained in:
@@ -170,8 +170,8 @@
|
||||
|
||||
/obj/structure/door_assembly/door_assembly_cult/Initialize(mapload)
|
||||
. = ..()
|
||||
icon = SSticker.cultdat?.airlock_runed_icon_file
|
||||
overlays_file = SSticker.cultdat?.airlock_runed_overlays_file
|
||||
icon = GET_CULT_DATA(airlock_runed_icon_file, initial(icon))
|
||||
overlays_file = GET_CULT_DATA(airlock_runed_overlays_file, initial(overlays_file))
|
||||
update_icon()
|
||||
|
||||
/obj/structure/door_assembly/door_assembly_cult/unruned
|
||||
@@ -182,8 +182,8 @@
|
||||
|
||||
/obj/structure/door_assembly/door_assembly_cult/unruned/Initialize(mapload)
|
||||
. = ..()
|
||||
icon = SSticker.cultdat?.airlock_unruned_icon_file
|
||||
overlays_file = SSticker.cultdat?.airlock_unruned_overlays_file
|
||||
icon = GET_CULT_DATA(airlock_unruned_icon_file, initial(icon))
|
||||
overlays_file = GET_CULT_DATA(airlock_unruned_overlays_file, initial(overlays_file))
|
||||
update_icon()
|
||||
|
||||
/obj/structure/door_assembly/door_assembly_centcom
|
||||
|
||||
@@ -454,11 +454,11 @@
|
||||
|
||||
/obj/structure/girder/cult/Initialize(mapload)
|
||||
. = ..()
|
||||
icon_state = SSticker.cultdat?.cult_girder_icon_state
|
||||
icon_state = GET_CULT_DATA(cult_girder_icon_state, initial(icon_state))
|
||||
|
||||
/obj/structure/girder/cult/attackby(obj/item/W, mob/user, params)
|
||||
add_fingerprint(user)
|
||||
if(istype(W, /obj/item/melee/cultblade/dagger) && iscultist(user)) //Cultists can demolish cult girders instantly with their dagger
|
||||
if(istype(W, /obj/item/melee/cultblade/dagger) && IS_CULTIST(user)) //Cultists can demolish cult girders instantly with their dagger
|
||||
user.visible_message("<span class='warning'>[user] strikes [src] with [W]!</span>", "<span class='notice'>You demolish [src].</span>")
|
||||
refundMetal(metalUsed)
|
||||
qdel(src)
|
||||
|
||||
Reference in New Issue
Block a user