Adventure
Revision as of 00:07, 1 March 2010 by imported>StDoodle (Created page with '{{#vardefine:name|adventure}} {{#vardefine:return_type|boolean}} {{FunctionPage| name={{#var:name}}| function_category=Adventuring| function1={{Function| name={{#var:name}}| ag…')
Function Syntax
boolean adventure(int adventures ,location place ,string filter )
- int is the number of adventures to spend.
- place is the adventuring location.
- filter is some kind of filter?
This function runs adventures according to your ccs & follows moods & restore settings in the process.
Note that adventures is the number of adventures to spend, and any "free" turns will not count towards this total.
Code Sample
Adventure 5 times at the Giant's Castle:
adventure(5 , $location[giant's castle]);
CLI Equivalent
The CLI command "adv" works similarly.
See Also