User Tools

Site Tools


add_item_to_tile

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
add_item_to_tile [2024/01/29 14:31] justinadd_item_to_tile [2024/01/29 15:45] justin
Line 15: Line 15:
 ====Example:==== ====Example:====
 <code bauxite> <code bauxite>
-add_item_to_tile();+add_item_to_tile(entity["under_tree"], "ITEM_0001", 5);
 </code> </code>
-//Results://+//Results:// Five of ITEM_0001 are placed onto the [[tile]] having ID "under_tree".
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
-Use the **Add Item To Tile** function to...+Use the **Add Item To Tile** function to pre-populate a [[map]] with [[item]] pickups for the player via the map's pre-load [[script]].
 </WRAP> </WRAP>
  
add_item_to_tile.txt · Last modified: 2024/01/29 15:45 by justin