mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-25 14:00:18 +01:00
New opendream pragmas (#20260)
Enabled new opendream pragmas Fixed some runtime access check operators (`:`) around the codebase (not all, some are unfixable as they're used in macros) No player facing changes (hopefully)
This commit is contained in:
@@ -141,7 +141,7 @@
|
||||
log_attack("[s] ([H.ckey])")
|
||||
|
||||
if(O.take_damage(3, 0, damage_flags = DAMAGE_FLAG_SHARP|DAMAGE_FLAG_EDGE, used_weapon = "teeth marks"))
|
||||
H:UpdateDamageIcon()
|
||||
H.UpdateDamageIcon()
|
||||
|
||||
last_chew = world.time
|
||||
|
||||
|
||||
@@ -229,7 +229,7 @@
|
||||
/obj/item/storage/box/fancy/crayons/attackby(obj/item/attacking_item, mob/user)
|
||||
if(istype(attacking_item, /obj/item/pen/crayon))
|
||||
var/obj/item/pen/crayon/W = attacking_item
|
||||
switch(W:colourName)
|
||||
switch(W.colourName)
|
||||
if("mime")
|
||||
to_chat(usr, "This crayon is too sad to be contained in this box.")
|
||||
return
|
||||
|
||||
@@ -254,7 +254,8 @@
|
||||
for(var/obj/item/gift/G in src)
|
||||
. += G.gift
|
||||
if (istype(G.gift, /obj/item/storage))
|
||||
. += G.gift:return_inv()
|
||||
var/obj/item/storage/gift_storage = G.gift
|
||||
. += gift_storage.return_inv()
|
||||
|
||||
/obj/item/storage/proc/show_to(mob/user as mob)
|
||||
if(user.s_active != src)
|
||||
|
||||
Reference in New Issue
Block a user