obviously you havent seen my extensive attempts to be a dev
ehh thats more mod and not actual dev
also i dont have enough karma tsk tsk
i gotta try my hardest to be a dev at something ive already made but havent released y'know
Ways to fix various role bugs(town)locked cause (apparently) all intentional
Can't post this on Complaints cause I don't have enough karma mod please move bla bla bla.
This is intended towards lucid (and my Boyned4Dev movement)
Going through the wiki, there are obviously many bugs in EM. These are some ways to fix some.
This is implying that Spy and Agent have the same function or socket method for contacting. If this is correct, just copy and paste the old contact method, change a few things if needed, and name them accordingly (spycontact, agentcontact).
This is assuming there is a check for the baker count, then runs a function. Instead, check on the death event for Baker, or at the start of a day, check through all dead roles and check if they're Baker.
Most likely intention, but just in case. Make an array containing all roles that can be in a group (or check inside the actual role object). At night, duplicate this array. When a role joins, check if they're in the group. If so, kill them and remove them from the duplicate array.
If not intentional, make Granny check if the person who visited was a jailer.
If not intentional, on the function for killing on mm, for loop between every role, and if they're a mason, kill.
This actually happens with a lot of roles. An easy fix would be to run a function on sui, where it auto unvotes if they have that as their target.
If not intentional, use the same method with "Only one mason dies on mismason."
Change order of events.
That's all that I know for town roles. If anyone wants fixes for maf roles, tell me. And remember. Boyned4Dev.