mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
Replaced some OOC IC in feedback messages (#93000)
This commit is contained in:
@@ -165,8 +165,8 @@
|
||||
|
||||
//check if we can build our window on the grill
|
||||
if(target_turf.is_blocked_turf(exclude_mobs = !is_full_tile, source_atom = null, ignore_atoms = structures_to_ignore, type_list = TRUE))
|
||||
playsound(get_turf(user), SFX_TOOL_SWITCH, 20, TRUE)
|
||||
balloon_alert(user, "something is blocking the turf")
|
||||
playsound(user, SFX_TOOL_SWITCH, 20, TRUE)
|
||||
balloon_alert(user, "tile is blocked!")
|
||||
return FALSE
|
||||
|
||||
/**
|
||||
|
||||
@@ -199,13 +199,13 @@
|
||||
var/is_allowed = TRUE
|
||||
if(!checkResource(cost, user) || !(is_allowed = canPlace(destination)))
|
||||
if(!is_allowed)
|
||||
balloon_alert(user, "turf is blocked!")
|
||||
balloon_alert(user, "tile is blocked!")
|
||||
return FALSE
|
||||
if(!build_delay(user, cost, target = destination))
|
||||
return FALSE
|
||||
if(!checkResource(cost, user) || !(is_allowed = canPlace(destination)))
|
||||
if(!is_allowed)
|
||||
balloon_alert(user, "turf is blocked!")
|
||||
balloon_alert(user, "tile is blocked!")
|
||||
return FALSE
|
||||
|
||||
if(!useResource(cost, user))
|
||||
|
||||
@@ -225,7 +225,7 @@ Doesn't work on other aliens/AI.*/
|
||||
if(get_dist(owner, target) > 1)
|
||||
return FALSE
|
||||
if(ismob(target)) //If it could corrode mobs, it would one-shot them.
|
||||
owner.balloon_alert(owner, "doesn't work on mobs!")
|
||||
owner.balloon_alert(owner, "doesn't work on creatures!")
|
||||
return FALSE
|
||||
|
||||
return ..()
|
||||
|
||||
Reference in New Issue
Block a user