Skip to content

Commit

Permalink
Fixer Office Gamemode (Lowpop Fixers for local play) (#2599)
Browse files Browse the repository at this point in the history
* Fixer office

adds a way to leave

Update ModularTegustation/tegu_items/associations/items.dm

Update items.dm

asd

Update jobs.dm

finalizes gamemode

Create fixer_office.dmm

Co-Authored-By: 567Turtle <[email protected]>

* asd

---------

Co-authored-by: 567Turtle <[email protected]>
  • Loading branch information
Kitsunemitsu and 567Turtle authored Feb 1, 2025
1 parent 5ee0bf0 commit a2681ab
Show file tree
Hide file tree
Showing 9 changed files with 66,982 additions and 106 deletions.
3 changes: 2 additions & 1 deletion ModularTegustation/tegu_items/associations/items.dm
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,11 @@
icon = 'ModularTegustation/Teguicons/teguitems.dmi'
icon_state = "tcorp_syringe"
amount = 1
var/list/usable_roles = list("Civilian", "Office Director", "Office Fixer")

/obj/item/attribute_increase/fixer/attack_self(mob/living/carbon/human/user)
//only civilians can use this.
if(user?.mind?.assigned_role != "Civilian")
if(!(user?.mind?.assigned_role in usable_roles))
to_chat(user, span_danger("You cannot use this item, as you must not belong to an association."))
return

Expand Down
Loading

0 comments on commit a2681ab

Please sign in to comment.