glqgamemaster/Gentle-Love-Quest — pull request #15 by gegerlan (2011-12-31 00:01:51+00:00)
Title: Dice

Added skill/attribute checks with some random elements.

This is a way to test the players attributes or skill in specific events, and have some random element to it to spice it up.

It could be used for pure gambling only using the characters skills and attributes

p "You decide to challenge the weakling to arm wrestling."
if actor.check(20, "str")
p "You snapped his arm in two."
else
p "Unbelievable. He beat you... how will you ever be able to show yourself in public any more."
end

It could also be used for checking if you successfully 'charmed' someone for instance, unlocking cheaper equipment and new dialog.