mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-28 06:27:26 +01:00
Tiny bit of clean up on paperwork stuff, mainly using proper text styles.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4269 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
user.drop_item()
|
||||
W.loc = src
|
||||
toppaper = W
|
||||
user << "\blue You clip the paper onto the clipboard."
|
||||
user << "<span class='notice'>You clip the paper onto \the [src].</span>"
|
||||
update_icon()
|
||||
else if(toppaper)
|
||||
toppaper.attackby(usr.get_active_hand(), usr)
|
||||
@@ -97,7 +97,7 @@
|
||||
usr.drop_item()
|
||||
W.loc = src
|
||||
haspen = W
|
||||
usr << "\blue You slot the pen into the clipboard."
|
||||
usr << "<span class='notice'>You slot the pen into \the [src].</span>"
|
||||
|
||||
if(href_list["write"])
|
||||
var/obj/item/P = locate(href_list["write"])
|
||||
@@ -132,7 +132,7 @@
|
||||
var/obj/item/P = locate(href_list["top"])
|
||||
if(P)
|
||||
toppaper = P
|
||||
usr << "You move [P.name] to the top."
|
||||
usr << "<span class='notice'>You move [P.name] to the top.</span>"
|
||||
|
||||
//Update everything
|
||||
attack_self(usr)
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
/obj/structure/filingcabinet/attackby(obj/item/P as obj, mob/user as mob)
|
||||
if(istype(P, /obj/item/weapon/paper) || istype(P, /obj/item/weapon/folder))
|
||||
user << "You put the [P] in the [name]."
|
||||
user << "<span class='notice'>You put the [P] in \the [src].</span>"
|
||||
user.drop_item()
|
||||
P.loc = src
|
||||
spawn()
|
||||
@@ -32,13 +32,13 @@
|
||||
else if(istype(P, /obj/item/weapon/wrench))
|
||||
playsound(loc, 'Ratchet.ogg', 50, 1)
|
||||
anchored = !anchored
|
||||
user << "You [anchored ? "wrench" : "unwrench"] \the [src]."
|
||||
user << "<span class='notice'>You [anchored ? "wrench" : "unwrench"] \the [src].</span>"
|
||||
else
|
||||
user << "You can't put a [P] in the [src]!"
|
||||
user << "<span class='notice'>You can't put a [P] in \the [src]!</span>"
|
||||
|
||||
/obj/structure/filingcabinet/attack_hand(mob/user as mob)
|
||||
if(contents.len <= 0)
|
||||
user << "\The [src] is empty."
|
||||
user << "<span class='notice'>\The [src] is empty.</span>"
|
||||
return
|
||||
|
||||
var/dat = "<center><table>"
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
if(istype(W, /obj/item/weapon/paper) || istype(W, /obj/item/weapon/photo))
|
||||
user.drop_item()
|
||||
W.loc = src
|
||||
user << "\blue You put the [W] into the folder."
|
||||
user << "<span class='notice'>You put the [W] into \the [src].</span>"
|
||||
update_icon()
|
||||
else if(istype(W, /obj/item/weapon/pen))
|
||||
var/n_name = copytext(sanitize(input(usr, "What would you like to label the folder?", "Folder Labelling", null) as text),1,MAX_NAME_LEN)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/obj/item/weapon/hand_labeler
|
||||
name = "Hand labeler"
|
||||
name = "hand labeler"
|
||||
icon = 'icons/obj/bureaucracy.dmi'
|
||||
icon_state = "labeler0"
|
||||
item_state = "flight"
|
||||
@@ -14,19 +14,19 @@
|
||||
return // don't set a label
|
||||
|
||||
if(!labels_left)
|
||||
user << "\blue No labels left."
|
||||
user << "<span class='notice'>No labels left.</span>"
|
||||
return
|
||||
if(!label || !length(label))
|
||||
user << "\blue No text set."
|
||||
user << "<span class='notice'>No text set.</span>"
|
||||
return
|
||||
if(length(A.name) + length(label) > 64)
|
||||
user << "\blue Label too big."
|
||||
user << "<span class='notice'>Label too big.</span>"
|
||||
return
|
||||
if(ishuman(A))
|
||||
user << "\blue You can't label humans."
|
||||
user << "<span class='notice'>You can't label humans.</span>"
|
||||
return
|
||||
if(issilicon(A))
|
||||
user << "\blue You can't label cyborgs."
|
||||
user << "<span class='notice'>You can't label cyborgs.</span>"
|
||||
return
|
||||
|
||||
for(var/mob/M in viewers())
|
||||
@@ -38,13 +38,13 @@
|
||||
mode = !mode
|
||||
icon_state = "labeler[mode]"
|
||||
if(mode)
|
||||
usr << "\blue You turn on the hand labeler."
|
||||
usr << "<span class='notice'>You turn on \the [src].</span>"
|
||||
//Now let them chose the text.
|
||||
var/str = copytext(reject_bad_text(input(usr,"Label text?","Set label","")),1,MAX_NAME_LEN)
|
||||
if(!str || !length(str))
|
||||
usr << "\red Invalid text."
|
||||
usr << "<span class='notice'>Invalid text.</span>"
|
||||
return
|
||||
label = str
|
||||
usr << "\blue You set the text to '[str]'."
|
||||
usr << "<span class='notice'>You set the text to '[str]'.</span>"
|
||||
else
|
||||
usr << "\blue You turn off the hand labeler."
|
||||
usr << "<span class='notice'>You turn off \the [src].</span>"
|
||||
@@ -64,7 +64,7 @@
|
||||
set src in usr
|
||||
|
||||
if ((CLUMSY in usr.mutations) && prob(50))
|
||||
usr << "\red You cut yourself on the paper."
|
||||
usr << "<span class='warning'>You cut yourself on the paper.</span>"
|
||||
return
|
||||
var/n_name = input(usr, "What would you like to label the paper?", "Paper Labelling", null) as text
|
||||
n_name = copytext(n_name, 1, 32)
|
||||
@@ -285,7 +285,7 @@
|
||||
overlays += "paper_stamped_denied"
|
||||
if(/obj/item/weapon/stamp/clown)
|
||||
if (!clown)
|
||||
usr << "\red You are totally unable to use the stamp. HONK!"
|
||||
usr << "<span class='notice'>You are totally unable to use the stamp. HONK!</span>"
|
||||
return
|
||||
else
|
||||
overlays += "paper_stamped_clown"
|
||||
@@ -295,7 +295,7 @@
|
||||
stamped = new
|
||||
stamped += P.type
|
||||
|
||||
user << "\blue You stamp the paper with your rubber stamp."
|
||||
user << "<span class='notice'>You stamp the paper with your rubber stamp.</span>"
|
||||
|
||||
add_fingerprint(user)
|
||||
return
|
||||
@@ -47,12 +47,12 @@
|
||||
P.loc = user.loc
|
||||
if(ishuman(user))
|
||||
user.put_in_hands(P)
|
||||
user << "You take a paper out of the bin."
|
||||
user << "<span class='notice'>You take a paper out of the bin.</span>"
|
||||
else
|
||||
P.loc = get_turf_loc(src)
|
||||
user << "You take a paper out of the bin."
|
||||
user << "<span class='notice'>You take a paper out of the bin.</span>"
|
||||
else
|
||||
user << "The paper bin is empty!"
|
||||
user << "<span class='notice'>The paper bin is empty!</span>"
|
||||
|
||||
add_fingerprint(user)
|
||||
return
|
||||
@@ -63,7 +63,7 @@
|
||||
|
||||
user.drop_item()
|
||||
i.loc = src
|
||||
usr << "You put the paper on the top of the paper bin."
|
||||
usr << "<span class='notice'>You put the paper on the top of the paper bin.</span>"
|
||||
papers.Add(i)
|
||||
amount++
|
||||
|
||||
@@ -71,9 +71,9 @@
|
||||
set src in oview(1)
|
||||
|
||||
if(amount)
|
||||
usr << "There " + (amount > 1 ? "are [amount] papers" : "is one paper") + " in the bin."
|
||||
usr << "<span class='notice'>There " + (amount > 1 ? "are [amount] papers" : "is one paper") + " in the bin.</span>"
|
||||
else
|
||||
usr << "There are no papers in the bin."
|
||||
usr << "<span class='notice'>There are no papers in the bin.</span>"
|
||||
return
|
||||
|
||||
update_icon()
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//This file was auto-corrected by findeclaration.exe on 25.5.2012 20:42:33
|
||||
|
||||
/obj/machinery/photocopier
|
||||
name = "Photocopier"
|
||||
name = "photocopier"
|
||||
icon = 'icons/obj/library.dmi'
|
||||
icon_state = "bigscanner"
|
||||
anchored = 1
|
||||
@@ -70,7 +70,7 @@
|
||||
if(!usr.get_active_hand())
|
||||
copy.loc = usr.loc
|
||||
usr.put_in_hands(copy)
|
||||
usr << "You take the paper out of the photocopier."
|
||||
usr << "<span class='notice'>You take the paper out of the photocopier.</span>"
|
||||
copy = null
|
||||
updateUsrDialog()
|
||||
else if(href_list["min"])
|
||||
@@ -88,24 +88,24 @@
|
||||
user.drop_item()
|
||||
copy = O
|
||||
O.loc = src
|
||||
user << "You insert the paper into the photocopier."
|
||||
user << "<span class='notice'>You insert the paper into \the [src].</span>"
|
||||
flick("bigscanner1", src)
|
||||
updateUsrDialog()
|
||||
else
|
||||
user << "There is already paper in the photocopier."
|
||||
user << "<span class='notice'>There is already paper in \the [src].</span>"
|
||||
else if(istype(O, /obj/item/device/toner))
|
||||
if(toner == 0)
|
||||
user.drop_item()
|
||||
del(O)
|
||||
toner = 30
|
||||
user << "You insert the toner cartridge into the photocopier."
|
||||
user << "<span class='notice'>You insert the toner cartridge into \the [src].</span>"
|
||||
updateUsrDialog()
|
||||
else
|
||||
user << "This cartridge is not yet ready for replacement! Use up the rest of the toner."
|
||||
user << "<span class='notice'>This cartridge is not yet ready for replacement! Use up the rest of the toner.</span>"
|
||||
else if(istype(O, /obj/item/weapon/wrench))
|
||||
playsound(loc, 'Ratchet.ogg', 50, 1)
|
||||
anchored = !anchored
|
||||
user << "You [anchored ? "wrench" : "unwrench"] \the [src]."
|
||||
user << "<span class='notice'>You [anchored ? "wrench" : "unwrench"] \the [src].</span>"
|
||||
return
|
||||
|
||||
ex_act(severity)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/obj/item/weapon/stamp
|
||||
desc = "A rubber stamp for stamping important documents."
|
||||
name = "rubber stamp"
|
||||
desc = "A rubber stamp for stamping important documents."
|
||||
icon = 'icons/obj/bureaucracy.dmi'
|
||||
icon_state = "stamp-qm"
|
||||
item_state = "stamp"
|
||||
|
||||
Reference in New Issue
Block a user