Easy questions

worshiprick

New member
- Is there a function for getting the size of a consumable (fullness, drunkenness and spleen harm)?

+ I looked up EatDrink.ash and it imports text files that I can't find anywhere on my system. Likewise, other threads talk about monsters.txt but I don't have that file either. I know that mafia works great though, and has correct values in the UI for all my consumables. Are these embedded into the .jar?

- Is there a built-in function that rests at the campground? If not, will this always work? visit_url("campground.php?action=rest")
 

Bale

Minion
The method used by EatDrink.ash reads the data files that are embedded in the jar, so they are on your system. monsters.txt is also one of those data files so you have that one also. I guess that was a bit confusing if you don't know that file_to_map() will read mafia's internal data files.

That's the only method I know for getting the size of a consumable.

The function for resting is cli_execute("rest");
 
Last edited:
Top