Convert most spans to defines (#31080)

* spanish?

* aaaagain

* keep maptext

* Update robot_items.dm

* Update span_defines.dm

* compiles

* Update silicon_mob.dm

* compile
This commit is contained in:
kyunkyunkyun
2025-12-13 23:55:48 +00:00
committed by GitHub
parent e5f0a6fffb
commit b0463d3c83
1624 changed files with 15737 additions and 15581 deletions
+4 -4
View File
@@ -50,20 +50,20 @@
return FALSE
if(stack.get_amount() < 1)
to_chat(user, "<span class='warning'>You need at least one sheet of [stack] to do this!</span>")
to_chat(user, SPAN_WARNING("You need at least one sheet of [stack] to do this!"))
return TRUE
to_chat(user, "<span class='notice'>You start adding [stack] to [src]...</span>")
to_chat(user, SPAN_NOTICE("You start adding [stack] to [src]..."))
if(!do_after(user, construction_time, target = src))
return TRUE
if(!stack.use(1))
to_chat(user, "<span class='warning'>You need at least one sheet of [stack] to do this!</span>")
to_chat(user, SPAN_WARNING("You need at least one sheet of [stack] to do this!"))
return TRUE
var/obj/structure/table/table_already_there = locate(/obj/structure/table) in get_turf(src)
if(table_already_there) //check again after to make sure one wasnt added since
to_chat(user, "<span class='warning'>There is already [table_already_there] here.</span>")
to_chat(user, SPAN_WARNING("There is already [table_already_there] here."))
return TRUE
if(!istype(new_table_type, /obj/structure/table)) //if its something unique, skip the table parts