Skip to content

Commit

Permalink
Fixer office
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Kitsunemitsu and 567Turtle committed Jan 17, 2025
1 parent f66b6c8 commit e324b02
Show file tree
Hide file tree
Showing 9 changed files with 66,983 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 e324b02

Please sign in to comment.