mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
[MDB IGNORE] Make /obj/item/stamp abstract, create proper granted stamp subtype (#94139)
## About The Pull Request There is technically an `/obj/item/stamp/granted` in that one traitor objective refers to it and tries to override a proc on it thus making it a valid type, but not really. This changes the base `/obj/item/stamp` from being the granted stamp to being an abstract type, and creates a proper subtype for the granted stamp. ## Why It's Good For The Game Base types being concrete outside of scenarios where its intuitive are very annoying ## Changelog 🆑 code: makes /obj/item/stamp abstract, creates /obj/item/stamp/granted /🆑
This commit is contained in:
@@ -25,7 +25,7 @@ ADMIN_VERB(fax_panel, R_ADMIN, "Fax Panel", "View and respond to faxes sent to C
|
||||
available_faxes += WEAKREF(fax)
|
||||
|
||||
//Get all stamps
|
||||
for(var/stamp in subtypesof(/obj/item/stamp))
|
||||
for(var/stamp in valid_subtypesof(/obj/item/stamp))
|
||||
var/obj/item/stamp/real_stamp = new stamp()
|
||||
if(!istype(real_stamp, /obj/item/stamp/chameleon) && !istype(real_stamp, /obj/item/stamp/mod))
|
||||
var/stamp_detail = real_stamp.get_writing_implement_details()
|
||||
|
||||
Reference in New Issue
Block a user