Rising World: Version 0.7.0.3 Preview (202402211)
Environment: Linux
Singleplayer
Hello, I'm new to writing rising world plugins so I'd assume I'm doing something wrong, maybe you can give me a hint.
I did manage to create a plugin and it is loaded by the game now I'd like to do some actions whenever a player picks up e.g. a stone or plant or if a tree is hit.
For what I do understand in order to catch those events the events onPlayerGameObjectHitEvent / onPlayerHitItemEvent / onPlayerObjectInteractionEvent should be listened to.
I did add a functions to my code
I didn't change anything else to the basic plugin example, yet I never see the message which should be sent here.
When I add following code:
I do see the message in log a soon as I pickup a trunk.
Does anyone have a hint towards what I'm doing wrong?
Thanks