Items in general

 

Init server commands

        no_remove specifies not to remove the item when picked up

        set_respawn <boolean> - specifies whether to respawn or not

        set_respawn_time <time in seconds> specifies the respawn time

 

Extra animations (what happens if these exist)

        idle what is played normally

        pickup - played when the item is picked up.

        pickup_idle - played after the item has been picked up and before it has respawned (only works if the no_remove command is used).

        respawn - played when the item is respawned (then will play idle).

 

A good example of all of this is item_healthplant.tik.

 

Health Items

 

To make a health item all you need to do is add the following lines to the init section of the tiki file.

 

classname Health

amount <health amount>

 

NOTE: amount will default to 20 if the amount line is left out.

 

A good example of all of this is item_healthplant.tik.