
I have two questions regarding some advanced topics of zscript:
1) How do I make a item (lets say, an flashlight), that draws power (for ease some kind of ther inv item, like batteries). How do I make it? I poked around the DoEffect() in gzdoom.pk3, but since my coding knowledge is belowe this level of coding, its barely understandable for me. So, how do I make an item, that draws (simple TakeInventory() ) power every one second (35 tics)?
I made an item with decorate and ACS, but I would like to get rid of the ACS part and let zscript do the job.
2) Is it possible to change the inventory icon of item? If so, how?
Many thanks
