mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-28 06:27:26 +01:00
BRUTAL Part 1 - No proc var/ in procs
This commit is contained in:
@@ -101,7 +101,7 @@
|
||||
// self_message (optional) is what the src mob sees e.g. "You do something!"
|
||||
// blind_message (optional) is what blind people will hear e.g. "You hear something!"
|
||||
|
||||
/mob/visible_message(var/message, var/self_message, var/blind_message)
|
||||
/mob/visible_message(message, self_message, blind_message)
|
||||
for(var/mob/M in get_mobs_in_view(7, src))
|
||||
if(M.see_invisible < invisibility)
|
||||
continue //can't view the invisible
|
||||
@@ -114,7 +114,7 @@
|
||||
// Use for objects performing visible actions
|
||||
// message is output to anyone who can see, e.g. "The [src] does something!"
|
||||
// blind_message (optional) is what blind people will hear e.g. "You hear something!"
|
||||
/atom/proc/visible_message(var/message, var/blind_message)
|
||||
/atom/proc/visible_message(message, blind_message)
|
||||
for(var/mob/M in get_mobs_in_view(7, src))
|
||||
if(!M.client)
|
||||
continue
|
||||
@@ -222,7 +222,7 @@
|
||||
|
||||
// Convinience proc. Collects crap that fails to equip either onto the mob's back, or drops it.
|
||||
// Used in job equipping so shit doesn't pile up at the start loc.
|
||||
/mob/living/carbon/human/proc/equip_or_collect(var/obj/item/W, var/slot)
|
||||
/mob/living/carbon/human/proc/equip_or_collect(obj/item/W, slot)
|
||||
if(W.mob_can_equip(src, slot, 1))
|
||||
//Mob can equip. Equip it.
|
||||
equip_to_slot_or_del(W, slot)
|
||||
@@ -733,7 +733,7 @@ GLOBAL_LIST_INIT(slot_equipment_priority, list( \
|
||||
|
||||
flavor_text = msg
|
||||
|
||||
/mob/proc/print_flavor_text(var/shrink = TRUE)
|
||||
/mob/proc/print_flavor_text(shrink = TRUE)
|
||||
if(flavor_text && flavor_text != "")
|
||||
var/msg = replacetext(flavor_text, "\n", " ")
|
||||
if(length(msg) <= 40 || !shrink)
|
||||
@@ -1030,7 +1030,7 @@ GLOBAL_LIST_INIT(slot_equipment_priority, list( \
|
||||
statpanel_things += A
|
||||
statpanel(listed_turf.name, null, statpanel_things)
|
||||
|
||||
/mob/proc/add_spell_to_statpanel(var/obj/effect/proc_holder/spell/S)
|
||||
/mob/proc/add_spell_to_statpanel(obj/effect/proc_holder/spell/S)
|
||||
switch(S.charge_type)
|
||||
if("recharge")
|
||||
statpanel(S.panel,"[S.charge_counter/10.0]/[S.charge_max/10]",S)
|
||||
@@ -1050,7 +1050,7 @@ GLOBAL_LIST_INIT(slot_equipment_priority, list( \
|
||||
if(restrained()) return 0
|
||||
return 1
|
||||
|
||||
/mob/proc/fall(var/forced)
|
||||
/mob/proc/fall(forced)
|
||||
drop_l_hand()
|
||||
drop_r_hand()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user