- Aug 24, 2017
- 620
- 741
Hi thanks for the code, the set_attr work perfectly, but for some reason the set_like ones don't work. Any guesses what might be causing this?I should reply here too since they dm'd me asking how to do this and others might be interested. I haven't tested it but something like this might work.
Though as I also mentioned in my dm if I wanted to adjust a specific person's stats or likes I would just use the console.Code:interaction !change_npc_likes(char:MC, char:T) details "Cheat NPC", 0, 100, 20, "not_ai not_tired healthy" init { var $allow_it; set $allow_it = &have_relation(MC,T); } allow $allow_it; aiprob 0; { # Set the stats &set_attr(T, "lewd", 100.0); # set the likes &set_like(T, "covered", -2); &set_like(T, "commando", 2); }
list p Name
to get the ID,cheat set_like ID covered -2
to set the person's like,cheat set_attr ID lewd 100
to set the person's stats. You can also uselist p
to see every character in the game anddump p ID
to see everything about the character. There's also some good documentation in the game files for making your own mods and all the stories and events in the game are viewable in the tfl files.
Edit: Nvm, looks like it works.
Last edited: