Library
Story
Quests once, rewards, flags as marks and counters.
- Start quest once
fn/game.StartQuestOnceStarts a quest if it has never been started; does nothing when it has. - Give a reward
fn/game.GiveRewardGives somebody so many of an item and shows them a note saying so. - Pay a reward
fn/game.PayRewardGives somebody coin worth so many denars and shows them a note saying so. - First time
fn/game.FirstTimeWhether this is the first time a story flag is asked about - Count up
fn/game.CountUpAdds to a story flag used as a counter and gives back what it comes to now. - Is flag set
fn/game.IsFlagSetWhether a story flag is anything but 0. - Is quest active
fn/game.IsQuestActiveWhether a quest has been started and is not over yet.
Modding