Clean up a bunch of undefined arg runtimes
This commit is contained in:
committed by
CitadelStationBot
parent
1f65e222b7
commit
1e9598dfbd
@@ -722,7 +722,7 @@
|
||||
remove_atom_colour(TEMPORARY_COLOUR_PRIORITY, "#000000")
|
||||
cut_overlay(MA)
|
||||
|
||||
/mob/living/carbon/human/canUseTopic(atom/movable/M, be_close = 0)
|
||||
/mob/living/carbon/human/canUseTopic(atom/movable/M, be_close=FALSE, no_dextery=FALSE)
|
||||
if(incapacitated() || lying )
|
||||
return
|
||||
if(!Adjacent(M) && (M.loc != src))
|
||||
|
||||
@@ -806,7 +806,7 @@
|
||||
visible_message("<span class='notice'>[user] butchers [src].</span>")
|
||||
gib(0, 0, 1)
|
||||
|
||||
/mob/living/canUseTopic(atom/movable/M, be_close = 0, no_dextery = 0)
|
||||
/mob/living/canUseTopic(atom/movable/M, be_close=FALSE, no_dextery=FALSE)
|
||||
if(incapacitated())
|
||||
return
|
||||
if(no_dextery)
|
||||
|
||||
@@ -800,7 +800,7 @@
|
||||
return TRUE
|
||||
return ..()
|
||||
|
||||
/mob/living/silicon/ai/canUseTopic(atom/movable/M, be_close = FALSE)
|
||||
/mob/living/silicon/ai/canUseTopic(atom/movable/M, be_close=FALSE, no_dextery=FALSE)
|
||||
if(control_disabled || incapacitated())
|
||||
return FALSE
|
||||
if(be_close && !in_range(M, src))
|
||||
|
||||
@@ -184,7 +184,7 @@
|
||||
|
||||
// See software.dm for Topic()
|
||||
|
||||
/mob/living/silicon/pai/canUseTopic(atom/movable/M)
|
||||
/mob/living/silicon/pai/canUseTopic(atom/movable/M, be_close=FALSE, no_dextery=FALSE)
|
||||
return TRUE
|
||||
|
||||
/mob/proc/makePAI(delold)
|
||||
|
||||
@@ -874,7 +874,7 @@
|
||||
if(DISCONNECT) //Tampering with the wires
|
||||
to_chat(connected_ai, "<br><br><span class='notice'>NOTICE - Remote telemetry lost with [name].</span><br>")
|
||||
|
||||
/mob/living/silicon/robot/canUseTopic(atom/movable/M, be_close = 0)
|
||||
/mob/living/silicon/robot/canUseTopic(atom/movable/M, be_close=FALSE, no_dextery=FALSE)
|
||||
if(stat || lockcharge || low_power_mode)
|
||||
return
|
||||
if(be_close && !in_range(M, src))
|
||||
@@ -1155,7 +1155,7 @@
|
||||
return
|
||||
. = ..(M, force, check_loc)
|
||||
|
||||
/mob/living/silicon/robot/unbuckle_mob(mob/user)
|
||||
/mob/living/silicon/robot/unbuckle_mob(mob/user, force=FALSE)
|
||||
if(iscarbon(user))
|
||||
GET_COMPONENT(riding_datum, /datum/component/riding)
|
||||
if(istype(riding_datum))
|
||||
|
||||
@@ -56,10 +56,7 @@
|
||||
/mob/living/simple_animal/pet/gondola/IsVocal() //Gondolas are the silent walker.
|
||||
return FALSE
|
||||
|
||||
/mob/living/simple_animal/pet/gondola/emote()
|
||||
return
|
||||
|
||||
#undef GONDOLA_HEIGHT
|
||||
#undef GONDOLA_COLOR
|
||||
#undef GONDOLA_MOUSTACHE
|
||||
#undef GONDOLA_EYES
|
||||
#undef GONDOLA_EYES
|
||||
|
||||
@@ -346,7 +346,7 @@
|
||||
if(casingtype)
|
||||
var/obj/item/ammo_casing/casing = new casingtype(startloc)
|
||||
playsound(src, projectilesound, 100, 1)
|
||||
casing.fire_casing(targeted_atom, src, null, null, null, zone_override = ran_zone())
|
||||
casing.fire_casing(targeted_atom, src, null, null, null, ran_zone())
|
||||
else if(projectiletype)
|
||||
var/obj/item/projectile/P = new projectiletype(startloc)
|
||||
playsound(src, projectilesound, 100, 1)
|
||||
|
||||
@@ -370,7 +370,7 @@
|
||||
if(target)
|
||||
return new childspawn(target)
|
||||
|
||||
/mob/living/simple_animal/canUseTopic(atom/movable/M, be_close = 0, no_dextery = 0)
|
||||
/mob/living/simple_animal/canUseTopic(atom/movable/M, be_close=FALSE, no_dextery=FALSE)
|
||||
if(incapacitated())
|
||||
return 0
|
||||
if(no_dextery || dextrous)
|
||||
|
||||
Reference in New Issue
Block a user