Skip to content

Commit

Permalink
Big update on the pen
Browse files Browse the repository at this point in the history
  • Loading branch information
i1yadobr committed Sep 25, 2024
1 parent 8cf1126 commit 5932bbf
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 1 deletion.
1 change: 1 addition & 0 deletions code/_helpers/text.dm
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,7 @@
t = replacetext(t, "\[/u\]", "</u>")
t = replacetext(t, "\[time\]", "[stationtime2text()]")
t = replacetext(t, "\[date\]", "[stationdate2text()]")
t = replacetext(t, "\[station\]", "[station_name()]")
t = replacetext(t, "\[large\]", "<span class='LargeFont' [class]>")
t = replacetext(t, "\[/large\]", "</span>")
t = replacetext(t, "\[field\]", "<!--paper_field-->")
Expand Down
7 changes: 7 additions & 0 deletions code/modules/paperwork/folders.dm
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
desc = "A folder."
icon = 'icons/obj/bureaucracy.dmi'
icon_state = "folder"
item_state = "folder"
w_class = ITEM_SIZE_SMALL

drop_sound = SFX_DROP_PAPER
Expand All @@ -11,22 +12,27 @@
/obj/item/folder/blue
desc = "A blue folder."
icon_state = "folder_blue"
item_state = "folder_blue"

/obj/item/folder/red
desc = "A red folder."
icon_state = "folder_red"
item_state = "folder_red"

/obj/item/folder/yellow
desc = "A yellow folder."
icon_state = "folder_yellow"
item_state = "folder_yellow"

/obj/item/folder/white
desc = "A white folder."
icon_state = "folder_white"
item_state = "folder_white"

/obj/item/folder/nt
desc = "A NanoTrasen folder."
icon_state = "folder_nt"
item_state = "folder_nt"

/obj/item/folder/on_update_icon()
ClearOverlays()
Expand Down Expand Up @@ -114,6 +120,7 @@
name = "envelope"
desc = "A thick envelope. You can't see what's inside."
icon_state = "envelope_sealed"
item_state = "envelope_sealed"
var/sealed = 1

/obj/item/folder/envelope/on_update_icon()
Expand Down
4 changes: 3 additions & 1 deletion code/modules/paperwork/misc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
name = "Sol Work Visa"
desc = "A flimsy piece of laminated cardboard issued by the Sol Central Government."
icon_state = "workvisa" //Has to be here or it'll assume default paper sprites.
item_state = "workvisa"
dynamic_icon = TRUE
readonly = TRUE
info = "\[center]\[b]\[large]Work Visa of the Sol Central Government\[/large]\[/b]\[/center]\[br]\[center]\[solcrest]\[br]\[br]\[i]\[small]Issued on behalf of the Secretary-General.\[/small]\[/i]\[/center]\[hr]\[br]This paper hereby permits the carrier to travel unhindered through Sol territories, colonies, and space for the purpose of work and labor."
Expand All @@ -102,6 +103,7 @@
name = "Trade License"
desc = "A flimsy piece of laminated cardboard."
icon_state = "trade_license"
item_state = "trade_license"
dynamic_icon = TRUE
readonly = TRUE
var/dest_station = ""
Expand Down Expand Up @@ -160,7 +162,7 @@
dest_station = "[station_name()]"
var/department = pick(true_departaments)
var/org_name = pick(org_names)
var/date = list("day" = rand(1,30), "month" = rand(1,12), "year" = rand(2562,2564), "dur" = rand(3,5))
var/date = list("day" = rand(1,30), "month" = rand(1,12), "year" = rand(2564,2566), "dur" = rand(3,5))
var/nt_code = "[rand(100,999)]-[rand(100,999)]-[rand(100,999)]"
var/org_code = "[rand(100,999)]-[rand(10,999)]-[rand(100,999)]"
if(GLOB.merchant_illegalness)
Expand Down
19 changes: 19 additions & 0 deletions code/modules/paperwork/stamps.dm
Original file line number Diff line number Diff line change
Expand Up @@ -13,78 +13,97 @@
/obj/item/stamp/captain
name = "captain's rubber stamp"
icon_state = "stamp-cap"
item_state = "stamp-cap"

/obj/item/stamp/hop
name = "head of personnel's rubber stamp"
icon_state = "stamp-hop"
item_state = "stamp-hop"

/obj/item/stamp/hos
name = "head of security's rubber stamp"
icon_state = "stamp-hos"
item_state = "stamp-hos"

/obj/item/stamp/ward
name = "warden's rubber stamp"
icon_state = "stamp-ward"
item_state = "stamp-ward"

/obj/item/stamp/ce
name = "chief engineer's rubber stamp"
icon_state = "stamp-ce"
item_state = "stamp-ce"

/obj/item/stamp/rd
name = "research director's rubber stamp"
icon_state = "stamp-rd"
item_state = "stamp-rd"

/obj/item/stamp/cmo
name = "chief medical officer's rubber stamp"
icon_state = "stamp-cmo"
item_state = "stamp-cmo"

/obj/item/stamp/denied
name = "\improper DENIED rubber stamp"
icon_state = "stamp-deny"
item_state = "stamp-deny"

/obj/item/stamp/clown
name = "clown's rubber stamp"
icon_state = "stamp-clown"
item_state = "stamp-clown"

/obj/item/stamp/internalaffairs
name = "internal affairs rubber stamp"
icon_state = "stamp-intaff"
item_state = "stamp-intaff"

/obj/item/stamp/centcomm
name = "centcomm rubber stamp"
icon_state = "stamp-cent"
item_state = "stamp-cent"

/obj/item/stamp/qm
name = "quartermaster's rubber stamp"
icon_state = "stamp-qm"
item_state = "stamp-qm"

/obj/item/stamp/cargo
name = "cargo rubber stamp"
icon_state = "stamp-cargo"
item_state = "stamp-cargo"

/obj/item/stamp/ok
name = "\improper APPROVED rubber stamp"
icon_state = "stamp-ok"
item_state = "stamp-ok"

/obj/item/stamp/syndicate
name = "\improper 'criminal' rubber stamp"
icon_state = "stamp-syndicate"
item_state = "stamp-syndicate"

/obj/item/stamp/void
name = "void rubber stamp"
icon_state = "stamp-void"
item_state = "stamp-void"

/obj/item/stamp/mime
name = "mime rubber stamp"
icon_state = "stamp-mime"
item_state = "stamp-mime"

/obj/item/stamp/law
name = "law rubber stamp"
icon_state = "stamp-law"
item_state = "stamp-law"

/obj/item/stamp/chapel
name = "chapel rubber stamp"
icon_state = "stamp-chap"
item_state = "stamp-chap"

// Syndicate stamp to forge documents.
/obj/item/stamp/chameleon/attack_self(mob/user as mob)
Expand Down
Binary file modified icons/mob/onmob/items/lefthand.dmi
Binary file not shown.
Binary file modified icons/mob/onmob/items/righthand.dmi
Binary file not shown.

0 comments on commit 5932bbf

Please sign in to comment.