Crazy's Mod still in development
0 Members and 115 Guests are viewing this topic.
Maybe it's better to show prebattle lines inside BE in the beginning of fight, if it's possible?
You know, turns out it's pretty easy to find battle quotes from other games, and a lot of them. For attacks, for dodge, for crit hit, for spells (different depending on element).Might we worth adding after 1.0.
l = len(characters) if len > 0:
if result: character.say(result)
return
File "game/library/interactions/GM - chat.rpy", line 4, in script $ interactions_prebattle_line(hero.team) File "game/library/interactions/GM - chat.rpy", line 4, in <module> $ interactions_prebattle_line(hero.team) File "game/library/interactions/function - interactions (GM).rpy", line 323, in interactions_prebattle_line character.say(result)KeyError: 'character'
Ren'Py will interpolate variables found in the global store. When using a text widget in a screen, Ren'Py will also interpolate screen local variables. (This can be overridden by supplying an explicit scope argument to the Text displayable.)
... bla bla bla elif "Imouto" in character.traits: lines = ["Ahaha, we'll totally beat you up!", "Behold of my amazing combat techniques, {mc_ref}! ♪"] ... bla bla bla result = random.sample(set(lines).difference(said_lines), 1)[0] result.format(mc_ref=character.mc_ref)
Even if result doesn't have mc_ref? Wouldn't it be an error then?
It's an imperfection in the engine I guess