Jump to content

How to spawn items under player or in his inventory?


MXXIV

Recommended Posts

Ideal case: Spawn items in player's inventory. If he cannot carry the items, spawn them on ground.

 

I tried to search for some existing usage, but I found nothing. Specifically, I looked into tree chopping (media\lua\client\TimedActions\ISChopTreeAction.lua). It doesn't handle the log spawning because the tree "dies" independently of chopping and spawns items. And it seems that this is done in java.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...