mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-16 01:25:10 +01:00
refactors most spans
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
|
||||
|
||||
@@ -85,7 +85,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
|
||||
@@ -97,13 +97,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