Lua event suggestions

  • Hello devs,


    Very nice work so far. Just a couple suggestions for the Lua scripting:


    1. Please add a new event ItemToInventory.

    • This should fire when an item has been added to the player's inventory.
    • There should be an event.itemTypeID property indicating the item that was added, as well as event.itemQuantity with how much.

    2. Please add a property to the event object of PlayerTerrainDestroy that indicates the type of terrain that was destroyed, similar to PlayerVegetationDestroy.



    One last question: what exactly is PlayerPicking supposed to do? It doesn't even register as an event when I add an event hook.


    Thank you!
    vmfedor

Participate now!

Don’t have an account yet? Create a new account now and be part of our community!