space-wizards / space-station-14

A multiplayer game about paranoia and chaos on a space station. Remake of the cult-classic Space Station 13.
https://spacestation14.io
MIT License
2.72k stars 3.44k forks source link

traitors have different codewords #29876

Open lzk228 opened 4 months ago

lzk228 commented 4 months ago

image

PJB3005 commented 4 months ago

Wrong repo?

lzk228 commented 4 months ago

oops my fault (how even i got there..)

slarticodefast commented 4 months ago

This happens because of the sleeper agent event. It adds a new BaseTraitorRule gamerule which generates its own codewords. But I agree they should be the same. I have seen the problem of sleepers having the objective to help one of the original traitors, but being unable to prove it to them due to different codewords.

deltanedas commented 4 months ago

traitor rule should check for existing rules to copy codewords from

EmoGarbage404 commented 4 months ago

traitor rule should check for existing rules to copy codewords from

goofy implementation. just make a central codewords system that uses an entity to store all the codewords under a given key. codewords probably shouldn't even be coupled to gamerules to begin with.