mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
Mountables "rose" span removal
Removes the rose class from spans in mountables code. More occurances of this ancient span class have been unearthed and will be handled in a separate PR since that'd end up being unnecessary bloat in this PR, plus some of those cases need some fixing anyways (span without /span)
This commit is contained in:
@@ -10,11 +10,11 @@
|
||||
var/turf/turf_loc = get_turf(user)
|
||||
var/area/area_loc = turf_loc.loc
|
||||
if(area_loc.get_apc())
|
||||
to_chat(user, "<span class='rose'>This area already has an APC.</span>")
|
||||
to_chat(user, "<span class='warning'>This area already has an APC.</span>")
|
||||
return //only one APC per area
|
||||
for(var/obj/machinery/power/terminal/T in turf_loc)
|
||||
if(T.master)
|
||||
to_chat(user, "<span class='rose'>There is another network terminal here.</span>")
|
||||
to_chat(user, "<span class='warning'>There is another network terminal here.</span>")
|
||||
return
|
||||
else
|
||||
var/obj/item/stack/cable_coil/C = new /obj/item/stack/cable_coil(turf_loc)
|
||||
|
||||
@@ -20,11 +20,11 @@
|
||||
var/turf/turf_loc = get_turf(user)
|
||||
|
||||
if(src.mount_reqs.Find("simfloor") && !istype(turf_loc, /turf/simulated/floor))
|
||||
to_chat(user, "<span class='rose'>[src] cannot be placed on this spot.</span>")
|
||||
to_chat(user, "<span class='warning'>[src] cannot be placed on this spot.</span>")
|
||||
return
|
||||
if(src.mount_reqs.Find("nospace"))
|
||||
var/area/my_area = turf_loc.loc
|
||||
if(!istype(my_area) || (my_area.requires_power == 0 || istype(my_area,/area/space)))
|
||||
to_chat(user, "<span class='rose'>[src] cannot be placed in this area.</span>")
|
||||
to_chat(user, "<span class='warning'>[src] cannot be placed in this area.</span>")
|
||||
return
|
||||
return 1
|
||||
|
||||
@@ -21,11 +21,11 @@
|
||||
if(proximity_flag != 1) //if we aren't next to the wall
|
||||
return
|
||||
if(!( get_dir(on_wall,user) in cardinal))
|
||||
to_chat(user, "<span class='rose'>You need to be standing next to a wall to place \the [src].</span>")
|
||||
to_chat(user, "<span class='warning'>You need to be standing next to a wall to place \the [src].</span>")
|
||||
return
|
||||
|
||||
if(gotwallitem(get_turf(user), get_dir(on_wall,user)))
|
||||
to_chat(user, "<span class='rose'>There's already an item on this wall!</span>")
|
||||
to_chat(user, "<span class='warning'>There's already an item on this wall!</span>")
|
||||
return
|
||||
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user