Revert "Add stamped requisition forms now give bonus credits (#66230)" (#66851)

This reverts commit f021767645.

This reverts commit f021767 from:

    Add stamped requisition forms now give bonus credits #66230

This bug was encountered when we were testing this PR but I thought it got fixed.
Why It's Good For The Game

Cargo crates will now reappear.
This commit is contained in:
Tim
2022-05-09 22:28:10 -05:00
committed by GitHub
parent e63d556d83
commit aaef545968
11 changed files with 58 additions and 161 deletions
+1 -23
View File
@@ -63,6 +63,7 @@
/obj/item/paper/Destroy()
stamps = null
stamped = null
form_fields = null
stamped = null
. = ..()
@@ -397,29 +398,6 @@
to_chat(usr, pick("You try to stamp but you miss!", "There is no where else you can stamp!"))
return FALSE
/**
* is_approved
*
* To determine if a paper has the correct stamp. If no department stamp is specified then the
* regular granted stamp (/obj/item/stamp) is checked
*
* Arguments:
* * department (optional) - The department stamp we are checking for
*/
/obj/item/paper/proc/is_approved(department_stamp)
if(department_stamp)
return stamped && (department_stamp in stamped)
else
return stamped && ("stamp-ok" in stamped)
/**
* is_denied
*
* To determine if a paper has the DENIED stamp
*/
/obj/item/paper/proc/is_denied()
return stamped && ("stamp-deny" in stamped)
/obj/item/paper/ui_act(action, params, datum/tgui/ui)
. = ..()
if(.)
+5 -4
View File
@@ -17,10 +17,6 @@
user.visible_message(span_suicide("[user] stamps 'VOID' on [user.p_their()] forehead, then promptly falls over, dead."))
return (OXYLOSS)
/obj/item/stamp/denied
name = "\improper DENIED rubber stamp"
icon_state = "stamp-deny"
/obj/item/stamp/qm
name = "quartermaster's rubber stamp"
icon_state = "stamp-qm"
@@ -61,6 +57,11 @@
icon_state = "stamp-cmo"
dye_color = DYE_CMO
/obj/item/stamp/denied
name = "\improper DENIED rubber stamp"
icon_state = "stamp-deny"
dye_color = DYE_REDCOAT
/obj/item/stamp/clown
name = "clown's rubber stamp"
icon_state = "stamp-clown"