<aside> 📌

This class is set up along side a regular item to provide info on how it should be sold and also any effects it may have on NPCs or the player.

</aside>

Parameter Input Format Input Details Notes
copyDataFrom <item> Copy all below parameters from an existing in-game retail item.
presetName <name> The name of this item. Should match the name of the item.
isConsumable true/false Is this consumable? (If so NPCs will buy it at shops)
canBeFavourite true/false Can this item be a favourite for an NPC?
isHot true/false Is this item hot? If no it will not be stored in a fridge.
tags [ <integer>, … ] 0 = starchProduct List of applied tags. The only one at present dictates if this is classed as a starch product for starch addiction.
desireCategory <integer> 0 = meal
1 = snack
2 = caffeine
3 = groceries
4 = washing
5 = medical
6 = recreational
7 = retail Which retail category does this fit in?
menuCategory <integer> 0 = food
1 = drinks
2 = snacks
3 = none Which menu category does this fit in?
minimumWealth <float> 0 - 1 Minimum wealth level needed for an NPC to be able to purchase this item.
nourishment <float> How much nourishment is given on consumption.
hydration <float> How much hydration is given on consumption.
alertness <float> How much alertness is given on consumption.
energy <float> How much energy is given on consumption.
excitement <float> How much excitement is given on consumption.
chores <float> How much ‘chores’ is given on consumption.
hygiene <float> How much hygiene is given on consumption.
bladder <float> How much ‘bladder’ is given on consumption.
heat <float> How much heat is given on consumption.
drunk <float> How much inebriation is given on consumption.
sick <float> How much sickness is given on consumption.
headache <float> How much ‘headache’ is given on consumption.
wet <float> How much wetness is given on consumption.
brokenLeg <float> How much ‘broken leg’ is given on consumption.
bruised <float> How much ‘bruised’ is given on consumption.
blackEye <float> How much ‘black eye’ is given on consumption.
blackedOut <float> How much ‘blacked out’ is given on consumption.
numb <float> How much numbness is given on consumption.
bleeding <float> How much bleeding is given on consumption.
wellRested <float> How much ‘well rested’ is given on consumption.
breath <float> How much breath is given on consumption.
starchAddiction <float> How much starch addiction is given on consumption.
poisoned <float> How much poisioned is given on consumption.
health <float> How much health is given on consumption.