Merge remote-tracking branch 'refs/remotes/origin/master' into syntheticbloods
This commit is contained in:
@@ -1,4 +0,0 @@
|
||||
//Overrides TG's PDA sprites with Cit's PDA sprites. Remind me to turn this into a pref somewhere down the line.
|
||||
|
||||
/obj/item/pda
|
||||
icon = 'modular_citadel/icons/obj/pda.dmi'
|
||||
@@ -1,31 +0,0 @@
|
||||
/obj/item/flashlight
|
||||
light_color = "#FFCC66"
|
||||
flashlight_power = 0.8
|
||||
|
||||
/obj/item/flashlight/pen
|
||||
light_color = "#FFDDCC"
|
||||
flashlight_power = 0.3
|
||||
|
||||
/obj/item/flashlight/seclite
|
||||
light_color = "#CDDDFF"
|
||||
flashlight_power = 0.9
|
||||
|
||||
/obj/item/flashlight/lamp
|
||||
light_color = "#FFDDBB"
|
||||
flashlight_power = 0.8
|
||||
|
||||
/obj/item/flashlight/flare
|
||||
light_color = "#FA421A"
|
||||
flashlight_power = 0.8
|
||||
|
||||
/obj/item/flashlight/flare/torch
|
||||
light_color = "#FAA44B"
|
||||
flashlight_power = 0.8
|
||||
|
||||
/obj/item/flashlight/lantern
|
||||
light_color = "#FFAA44"
|
||||
flashlight_power = 0.75
|
||||
|
||||
/obj/item/flashlight/slime
|
||||
light_color = "#FFEEAA"
|
||||
flashlight_power = 0.6
|
||||
@@ -11,8 +11,8 @@
|
||||
|
||||
/obj/item/nullrod/rosary/Initialize()
|
||||
.=..()
|
||||
if(SSreligion.religion)
|
||||
deity_name = SSreligion.deity
|
||||
if(GLOB.religion)
|
||||
deity_name = GLOB.deity
|
||||
|
||||
/obj/item/nullrod/rosary/attack(mob/living/carbon/M as mob, mob/living/carbon/user as mob)
|
||||
if(!istype(M))
|
||||
|
||||
@@ -119,8 +119,8 @@
|
||||
|
||||
/obj/item/melee/transforming/energy/sword/cx/attackby(obj/item/W, mob/living/user, params)
|
||||
if(istype(W, /obj/item/melee/transforming/energy/sword/cx))
|
||||
if((W.item_flags & NODROP) || (item_flags & NODROP))
|
||||
to_chat(user, "<span class='warning'>\the [item_flags & NODROP ? src : W] is stuck to your hand, you can't attach it to \the [item_flags & NODROP ? W : src]!</span>")
|
||||
if(HAS_TRAIT(W, TRAIT_NODROP) || HAS_TRAIT(src, TRAIT_NODROP))
|
||||
to_chat(user, "<span class='warning'>\the [HAS_TRAIT(src, TRAIT_NODROP) ? src : W] is stuck to your hand, you can't attach it to \the [HAS_TRAIT(src, TRAIT_NODROP) ? W : src]!</span>")
|
||||
return
|
||||
else
|
||||
to_chat(user, "<span class='notice'>You combine the two light swords, making a single supermassive blade! You're cool.</span>")
|
||||
@@ -228,8 +228,8 @@
|
||||
|
||||
/obj/item/toy/sword/cx/attackby(obj/item/W, mob/living/user, params)
|
||||
if(istype(W, /obj/item/toy/sword/cx))
|
||||
if((W.item_flags & NODROP) || (item_flags & NODROP))
|
||||
to_chat(user, "<span class='warning'>\the [item_flags & NODROP ? src : W] is stuck to your hand, you can't attach it to \the [item_flags & NODROP ? W : src]!</span>")
|
||||
if(HAS_TRAIT(W, TRAIT_NODROP) || HAS_TRAIT(src, TRAIT_NODROP))
|
||||
to_chat(user, "<span class='warning'>\the [HAS_TRAIT(src, TRAIT_NODROP) ? src : W] is stuck to your hand, you can't attach it to \the [HAS_TRAIT(src, TRAIT_NODROP) ? W : src]!</span>")
|
||||
return
|
||||
else
|
||||
to_chat(user, "<span class='notice'>You combine the two plastic swords, making a single supermassive toy! You're fake-cool.</span>")
|
||||
@@ -367,7 +367,7 @@
|
||||
unwield()
|
||||
return
|
||||
..()
|
||||
if(user.has_trait(TRAIT_CLUMSY) && (wielded) && prob(40))
|
||||
if(HAS_TRAIT(user, TRAIT_CLUMSY) && (wielded) && prob(40))
|
||||
impale(user)
|
||||
return
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
return //CIT CHANGE - ditto
|
||||
|
||||
add_fingerprint(user)
|
||||
if((user.has_trait(TRAIT_CLUMSY)) && prob(50))
|
||||
if((HAS_TRAIT(user, TRAIT_CLUMSY)) && prob(50))
|
||||
to_chat(user, "<span class ='danger'>You club yourself over the head.</span>")
|
||||
user.Knockdown(60 * force)
|
||||
if(ishuman(user))
|
||||
|
||||
Reference in New Issue
Block a user