Is there an issue with Sandra's quest in school? After visiting the principals office, I do not get the next step.
They're built into the character class so each char has its own list. Not necessarily the most elegant design, but it works fine. That's why you need to reference the character in the assignment.
If I underestand it correctly this happens for example in the char_Name file under label ini_samantha with
$ sam.groups = ['cheerleader', 'nerd']
So I added under ini_Allie for Allie in her file:
$ a.groups = ['nerd']
Terri had this already in her file, only missing Nerd. So I added nerd between ['']:
$ t.groups = ['nerd']
In script.rpy is a list under char_data which connects the abbreviations with their names. Which is maybe in this case not important.
There is in the label person_gossip(char):
with the following code:
if player.schoolrep_nerd > 0 and "nerd" in char.groups and player.alignment >= 60:
$ var1=(2 * player.schoolrep_nerd)
$ player.reputation+=var1
"{color=24ff00}+[var1] Global Influence{/color}\n From Nerd Reputation."
So I would expect that char.groups would be for Allie: "a.groups" and provide Nerd from her file, but this does not work. I seem to overlook something.
I do not understand this:
func_updatescript.rpy: $ a.groups.append('nerd')
func_updatescript.rpy: $ sam.groups.append('nerd')
func_updatescript.rpy: $ t.groups.append('nerd')
sam for example has already an nerd entry in her file. So I am not sure why she is mentioned in the updatescript.
I find it interesting that other chars do not have append added in the same file:
func_updatescript.rpy: $ sd.groups = ['rebel']
func_updatescript.rpy: $ sis.groups = ['rebel']
While for the jocks, they used again append
func_updatescript.rpy: $ ch.groups.append('jock')
func_updatescript.rpy: $ n.groups.append('jock')
func_updatescript.rpy: $ sd.groups.append('jock')
And I get Jock Reputation if I gossip for example with ch.