Adventure
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