User Tools

Site Tools


add_object

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
add_object [2020/06/07 17:26] justinadd_object [2021/04/21 18:57] justin
Line 20: Line 20:
 ====Example:==== ====Example:====
 <code bauxite> <code bauxite>
-add_object("tree_small", "target_tile", "new_tree")+add_object("tree_small", "target_tile", "new_tree");
 </code> </code>
 //Results:// A small tree will be added to the [[map|map]] on the [[tile|tile]] having ID "target_tile" and will be assigned an ID of "new_tree". //Results:// A small tree will be added to the [[map|map]] on the [[tile|tile]] having ID "target_tile" and will be assigned an ID of "new_tree".
add_object.txt · Last modified: 2023/01/02 21:15 by justin