mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-15 20:52:41 +00:00
[MIRROR] refactors most spans (#9139)
Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: Kashargul <KashL@t-online.de>
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
stored_ore[ore] += ore_amount // Add the ore to the machine.
|
||||
S.stored_ore[ore] = 0 // Set the value of the ore in the satchel to 0.
|
||||
S.current_capacity = 0 // Set the amount of ore in the satchel to 0.
|
||||
to_chat(user, "<span class='notice'>You empty the satchel into the box.</span>")
|
||||
to_chat(user, span_notice("You empty the satchel into the box."))
|
||||
|
||||
return
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
// set src in view(1)
|
||||
//
|
||||
// if(!ishuman(usr) && !isrobot(usr)) //Only living, intelligent creatures with gripping aparatti can empty ore boxes.
|
||||
// to_chat(usr, "<span class='warning'>You are physically incapable of emptying the ore box.</span>")
|
||||
// to_chat(usr, span_warning("You are physically incapable of emptying the ore box."))
|
||||
// return
|
||||
// if(usr.stat || usr.restrained())
|
||||
// return
|
||||
@@ -96,13 +96,13 @@
|
||||
// add_fingerprint(usr)
|
||||
//
|
||||
// if(contents.len < 1)
|
||||
// to_chat(usr, "<span class='warning'>The ore box is empty.</span>")
|
||||
// to_chat(usr, span_warning("The ore box is empty."))
|
||||
// return
|
||||
//
|
||||
// for (var/obj/item/ore/O in contents)
|
||||
// contents -= O
|
||||
// O.loc = src.loc
|
||||
// to_chat(usr, "<span class='notice'>You empty the ore box.</span>")
|
||||
// to_chat(usr, span_notice("You empty the ore box."))
|
||||
//
|
||||
// return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user