Question: how to spawn an Item ? how to start affliction?

#1
Hi Dev team. I am curently working on a mod "Hunger and Food" on Steam.
is there a way to start the mission already with an Affliction (in this case my Hunger affliction) ?

Second question:
is there some way, to spawn a Item, when an Item is used up in the OnBroken tag, so it will replace the removed one?

Code: Select all

  <StatusEffect type="OnBroken" target="This">
        
       <Remove />
      </StatusEffect>      

Regards Schorote
cron