Consumption records

This script gives you access to your food and booze consumption records when imported into another script. The data is accessed through the following:

Code:
int[item] booze_consumed;
int[item] food_consumed;

trying to read food_consumed[$item[meat paste]] or any other non-edible item should result in 0...unless you've managed to do something I haven't figured out yet...in which case send me a message telling me how because I want to eat a time sword ;D

If you load the script from the cli or gcli it prints your consumption records to the screen.

Later this script will be part of my re-built meat farming script, which will work on that herb brownies trophy...ya know 420 of them. I can never remember to eat them. The data may also be used to determine daily food in a baby-sitting script too. I mean if you are handed an account which has eaten 30,000 tomatoes and nothing else wouldn't you assume that the player was trying to achieve something there?
 

Attachments

  • Consumption.ash
    3.5 KB · Views: 83
Top