mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user