game_api.txt 19.8 KB
Newer Older
paramat's avatar
paramat committed
1
2
Minetest Game API
=================
BlockMen's avatar
BlockMen committed
3
GitHub Repo: https://github.com/minetest/minetest_game
4
5
6

Introduction
------------
7

paramat's avatar
paramat committed
8
9
The Minetest Game subgame offers multiple new possibilities in addition to the Minetest engine's built-in API,
allowing you to add new plants to farming mod, buckets for new liquids, new stairs and custom panes.
10
11
For information on the Minetest API, visit https://github.com/minetest/minetest/blob/master/doc/lua_api.txt
Please note:
12
13
14

 * [XYZ] refers to a section the Minetest API
 * [#ABC] refers to a section in this document
15
 * [pos] refers to a position table `{x = -5, y = 0, z = 200}`
16
17
18

Bucket API
----------
19

20
21
The bucket API allows registering new types of buckets for non-default liquids.

22

23
	bucket.register_liquid(
paramat's avatar
paramat committed
24
25
26
27
28
29
		"default:lava_source",   -- name of the source node
		"default:lava_flowing",  -- name of the flowing node
		"bucket:bucket_lava",    -- name of the new bucket item (or nil if liquid is not takeable)
		"bucket_lava.png",       -- texture of the new bucket item (ignored if itemname == nil)
		"Lava Bucket",           -- text description of the bucket item
		{lava_bucket = 1}        -- groups of the bucket item, OPTIONAL
30
	)
31

BlockMen's avatar
BlockMen committed
32
33
Beds API
--------
34

BlockMen's avatar
BlockMen committed
35
	beds.register_bed(
36
37
		"beds:bed",    -- Bed name
		def            -- See [#Bed definition]
BlockMen's avatar
BlockMen committed
38
39
	)

40
41
42
 * `beds.read_spawns() `   Returns a table containing players respawn positions
 * `beds.kick_players()`  Forces all players to leave bed
 * `beds.skip_night()`   Sets world time to morning and saves respawn position of all players currently sleeping
rubenwardy's avatar
rubenwardy committed
43
44

### Bed definition
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62

	{
		description = "Simple Bed",
		inventory_image = "beds_bed.png",
		wield_image = "beds_bed.png",
		tiles = {
			bottom = {'Tile definition'}, -- the tiles of the bottom part of the bed.
			top = {Tile definition} -- the tiles of the bottom part of the bed.
		},
		nodebox = {
			bottom = 'regular nodebox',     -- bottom part of bed (see [Node boxes])
			top = 'regular nodebox',        -- top part of bed (see [Node boxes])
		},
		selectionbox = 'regular nodebox',  -- for both nodeboxes (see [Node boxes])
		recipe = {                                         -- Craft recipe
			{"group:wool", "group:wool", "group:wool"},
			{"group:wood", "group:wood", "group:wood"}
		}
BlockMen's avatar
BlockMen committed
63
64
	}

65
66
67
68
69
Creative API
------------

A global string called `creative.formspec_add` was added which allows mods to add additional formspec elements onto the default creative inventory formspec to be drawn after each update.

70
71
Doors API
---------
72

73
The doors mod allows modders to register custom doors and trapdoors.
74

75
`doors.register_door(name, def)`
76

77
78
79
 * Registers new door
 * `name` Name for door
 * `def`  See [#Door definition]
80

81
`doors.register_trapdoor(name, def)`
82

83
84
85
86
 * Registers new trapdoor
 * `name` Name for trapdoor
 * `def`  See [#Trapdoor definition]

87
88
89
90
91
92
`doors.register_fencegate(name, def)`

 * Registers new fence gate
 * `name` Name for fence gate
 * `def`  See [#Fence gate definition]

93
`doors.get(pos)`
rubenwardy's avatar
rubenwardy committed
94

95
 * `pos` A position as a table, e.g `{x = 1, y = 1, z = 1}`
rubenwardy's avatar
rubenwardy committed
96
97
98
99
 * Returns an ObjectRef to a door, or nil if the position does not contain a door

    ### Methods

100
101
102
103
104
105
106
107
108
109
        :open(player)   -- Open the door object, returns if door was opened
        :close(player)  -- Close the door object, returns if door was closed
        :toggle(player) -- Toggle the door state, returns if state was toggled
        :state()        -- returns the door state, true = open, false = closed

    the "player" parameter can be omitted in all methods. If passed then
    the usual permission checks will be performed to make sure the player
    has the permissions needed to open this door. If omitted then no
    permission checks are performed.

rubenwardy's avatar
rubenwardy committed
110
### Door definition
111

112
113
	description = "Door description",
	inventory_image = "mod_door_inv.png",
114
115
	groups = {choppy = 2},
	tiles = {"mod_door.png"}, -- UV map.
116
	recipe = craftrecipe,
117
118
119
	sounds = default.node_sound_wood_defaults(), -- optional
	sound_open = sound play for open door, -- optional
	sound_close = sound play for close door, -- optional
120
121
	protected = false, -- If true, only placer can open the door (locked for others)

rubenwardy's avatar
rubenwardy committed
122
### Trapdoor definition
123

124
125
	description = "Trapdoor description",
	inventory_image = "mod_trapdoor_inv.png",
126
127
128
	groups = {choppy = 2},
	tile_front = "doors_trapdoor.png", -- the texture for the front and back of the trapdoor
	tile_side = "doors_trapdoor_side.png", -- the tiles of the four side parts of the trapdoor
129
130
131
	sounds = default.node_sound_wood_defaults(), -- optional
	sound_open = sound play for open door, -- optional
	sound_close = sound play for close door, -- optional
132
	protected = false, -- If true, only placer can open the door (locked for others)
133

rubenwardy's avatar
rubenwardy committed
134
### Fence gate definition
135
136
137
138
139
140
141

	description = "Wooden Fence Gate",
	texture = "default_wood.png",
	material = "default:wood",
	groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
	sounds = default.node_sound_wood_defaults(), -- optional

142
143
Fence API
---------
rubenwardy's avatar
rubenwardy committed
144

145
146
Allows creation of new fences with "fencelike" drawtype.

147
148
149
150
151
152
153
`default.register_fence(name, item definition)`

 Registers a new fence. Custom fields texture and material are required, as
 are name and description. The rest is optional. You can pass most normal
 nodedef fields here except drawtype. The fence group will always be added
 for this node.

rubenwardy's avatar
rubenwardy committed
154
### fence definition
155
156
157
158
159

	name = "default:fence_wood",
	description = "Wooden Fence",
	texture = "default_wood.png",
	material = "default:wood",
160
	groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
161
162
	sounds = default.node_sound_wood_defaults(),

rubenwardy's avatar
rubenwardy committed
163
Walls API
164
---------
rubenwardy's avatar
rubenwardy committed
165

166
167
168
169
170
171
172
173
174
The walls API allows easy addition of stone auto-connecting wall nodes.

walls.register(name, desc, texture, mat, sounds)
^ name = "walls:stone_wall". Node name.
^ desc = "A Stone wall"
^ texture = "default_stone.png"
^ mat = "default:stone". Used to auto-generate crafting recipe.
^ sounds = sounds: see [#Default sounds]

175
176
Farming API
-----------
177

178
179
The farming API allows you to easily register plants and hoes.

180
181
`farming.register_hoe(name, hoe definition)`
 * Register a new hoe, see [#hoe definition]
182

183
184
`farming.register_plant(name, Plant definition)`
 * Register a new growing plant, see [#Plant definition]
185

rubenwardy's avatar
rubenwardy committed
186
### Hoe Definition
187
188
189
190
191
192
193
194
195
196
197
198


	{
		description = "",                      -- Description for tooltip
		inventory_image = "unknown_item.png",  -- Image to be used as wield- and inventory image
		max_uses = 30,                         -- Uses until destroyed
		material = "",                         -- Material for recipes
		recipe = {                             -- Craft recipe, if material isn't used
			{"air", "air", "air"},
			{"", "group:stick"},
			{"", "group:stick"},
		}
199
200
	}

rubenwardy's avatar
rubenwardy committed
201
### Plant definition
202
203
204
205
206
207
208
209
210

	{
		description = "",                      -- Description of seed item
		inventory_image = "unknown_item.png",  -- Image to be used as seed's wield- and inventory image
		steps = 8,                             -- How many steps the plant has to grow, until it can be harvested
		-- ^ Always provide a plant texture for each step, format: modname_plantname_i.png (i = stepnumber)
		minlight = 13,                         -- Minimum light to grow
		maxlight = default.LIGHT_MAX           -- Maximum light to grow
	}
211

red-001's avatar
red-001 committed
212
213
214
Fire API
--------

rubenwardy's avatar
rubenwardy committed
215
216
New node def property:

red-001's avatar
red-001 committed
217
218
219
220
221
`on_burn(pos)`

 * Called when fire attempts to remove a burning node.
 * `pos` Position of the burning node.

rubenwardy's avatar
rubenwardy committed
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
Give Initial Stuff API
----------------------

`give_initial_stuff.give(player)`

^ Give initial stuff to "player"

`give_initial_stuff.add(stack)`

^ Add item to the initial stuff
^ Stack can be an ItemStack or a item name eg: "default:dirt 99"
^ Can be called after the game has loaded

`give_initial_stuff.clear()`

^ Removes all items from the initial stuff
^ Can be called after the game has loaded

`give_initial_stuff.get_list()`

^ returns list of item stacks

`give_initial_stuff.set_list(list)`

^ List of initial items with numeric indices.

`give_initial_stuff.add_from_csv(str)`

^ str is a comma separated list of initial stuff
^ Adds items to the list of items to be given

rubenwardy's avatar
rubenwardy committed
253
254
255
256
257
258
259
260
261
262
263
264
Nyancat API
-----------

`nyancat.place(pos, facedir, length)`

^ Place a cat at `pos` facing `facedir` with tail length `length`
  Only accepts facedir 0-3, if facedir > 3 then it will be interpreted as facedir = 0

`nyancat.generate(minp, maxp, seed)`

^ Called by `minetest.register_on_generated`. To disable nyancat generation,
  you can redefine nyancat.generate() to be an empty function
red-001's avatar
red-001 committed
265

rubenwardy's avatar
rubenwardy committed
266
TNT API
red-001's avatar
red-001 committed
267
268
----------

rubenwardy's avatar
rubenwardy committed
269
`tnt.register_tnt(definition)`
red-001's avatar
red-001 committed
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285

^ Register a new type of tnt.

 * `name` The name of the node. If no prefix is given `tnt` is used.
 * `description` A description for your TNT.
 * `radius` The radius within which the TNT can destroy nodes. The default is 3.
 * `damage_radius` The radius within which the TNT can damage players and mobs. By default it is twice the `radius`.
 * `disable_drops` Disable drops. By default it is set to false.
 * `ignore_protection` Don't check `minetest.is_protected` before removing a node.
 * `ignore_on_blast` Don't call `on_blast` even if a node has one.
 * `tiles` Textures for node
  * `side`  Side tiles. By default the name of the tnt with a suffix of `_side.png`.
  * `top`  Top tile. By default the name of the tnt with a suffix of `_top.png`.
  * `bottom` Bottom tile. By default the name of the tnt with a suffix of `_bottom.png`.
  * `burning` Top tile when lit. By default the name of the tnt with a suffix of `_top_burning_animated.png".

Auke Kok's avatar
Auke Kok committed
286
`tnt.boom(position, definition)`
red-001's avatar
red-001 committed
287
288
289
290

^ Create an explosion.

* `position` The center of explosion.
Auke Kok's avatar
Auke Kok committed
291
* `definition` The TNT definion as passed to `tnt.register`
red-001's avatar
red-001 committed
292

Auke Kok's avatar
Auke Kok committed
293
`tnt.burn(position)`
red-001's avatar
red-001 committed
294
295
296

^ Ignite TNT at position

297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313

To make dropping items from node inventories easier, you can use the
following helper function from 'default':

default.get_inventory_drops(pos, inventory, drops)

^ Return drops from node inventory "inventory" in drops.

* `pos` - the node position
* `inventory` - the name of the inventory (string)
* `drops` - an initialized list

The function returns no values. The drops are returned in the `drops`
parameter, and drops is not reinitialized so you can call it several
times in a row to add more inventory items to it.


314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
`on_blast` callbacks:

Both nodedefs and entitydefs can provide an `on_blast()` callback

`nodedef.on_blast(pos, intensity)`
^ Allow drop and node removal overriding
* `pos` - node position
* `intensity` - TNT explosion measure. larger or equal to 1.0
^ Should return a list of drops (e.g. {"default:stone"})
^ Should perform node removal itself. If callback exists in the nodedef
^ then the TNT code will not destroy this node.

`entitydef.on_blast(luaobj, damage)`
^ Allow TNT effects on entities to be overridden
* `luaobj` - LuaEntityRef of the entity
* `damage` - suggested HP damage value
^ Should return a list of (bool do_damage, bool do_knockback, table drops)
* `do_damage` - if true then TNT mod wil damage the entity
* `do_knockback` - if true then TNT mod will knock the entity away
* `drops` - a list of drops, e.g. {"wool:red"}


336
337
Screwdriver API
---------------
338

339
The screwdriver API allows you to control a node's behaviour when a screwdriver is used on it.
340
341
342
343
344
345
346
347
348
349
To use it, add the `on_screwdriver` function to the node definition.

`on_rotate(pos, node, user, mode, new_param2)`

 * `pos` Position of the node that the screwdriver is being used on
 * `node` that node
 * `user` The player who used the screwdriver
 * `mode` screwdriver.ROTATE_FACE or screwdriver.ROTATE_AXIS
 * `new_param2` the new value of param2 that would have been set if on_rotate wasn't there
 * return value: false to disallow rotation, nil to keep default behaviour, true to allow
paramat's avatar
paramat committed
350
 	it but to indicate that changed have already been made (so the screwdriver will wear out)
351
 * use `on_rotate = false` to always disallow rotation
352
 * use `on_rotate = screwdriver.rotate_simple` to allow only face rotation
353

354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377

Sethome API
-----------

The sethome API adds three global functions to allow mods to read a players home position,
set a players home position and teleport a player to home position.

`sethome.get(name)`

 * `name` Player who's home position you wish to get
 * return value: false if no player home coords exist, position table if true

`sethome.set(name, pos)`

 * `name` Player who's home position you wish to set
 * `pos` Position table containing coords of home position
 * return value: false if unable to set and save new home position, otherwise true

`sethome.go(name)`

 * `name` Player you wish to teleport to their home position
 * return value: false if player cannot be sent home, otherwise true


378
379
Stairs API
----------
380

381
The stairs API lets you register stairs and slabs and ensures that they are registered the same way as those
382
delivered with Minetest Game, to keep them compatible with other mods.
383

384
385
386
387
`stairs.register_stair(subname, recipeitem, groups, images, description, sounds)`

 * Registers a stair.
 * `subname`: Basically the material name (e.g. cobble) used for the stair name. Nodename pattern: "stairs:stair_subname"
388
 * `recipeitem`: Item used in the craft recipe, e.g. "default:cobble", may be `nil`
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
 * `groups`: see [Known damage and digging time defining groups]
 * `images`: see [Tile definition]
 * `description`: used for the description field in the stair's definition
 * `sounds`: see [#Default sounds]

`stairs.register_slab(subname, recipeitem, groups, images, description, sounds)`

 * Registers a slabs
 * `subname`: Basically the material name (e.g. cobble) used for the stair name. Nodename pattern: "stairs:stair_subname"
 * `recipeitem`: Item used in the craft recipe, e.g. "default:cobble"
 * `groups`: see [Known damage and digging time defining groups]
 * `images`: see [Tile definition]
 * `description`: used for the description field in the stair's definition
 * `sounds`: see [#Default sounds]

`stairs.register_stair_and_slab(subname, recipeitem, groups, images, desc_stair, desc_slab, sounds)`

 * A wrapper for stairs.register_stair and stairs.register_slab
 * Uses almost the same arguments as stairs.register_stair
 * `desc_stair`: Description for stair node
 * `desc_slab`: Description for slab node
410

411
412
Xpanes API
----------
413

414
415
Creates panes that automatically connect to each other

416
417
418
419
420
`xpanes.register_pane(subname, def)`

 * `subname`: used for nodename. Result: "xpanes:subname" and "xpanes:subname_{2..15}"
 * `def`: See [#Pane definition]

rubenwardy's avatar
rubenwardy committed
421
### Pane definition
422
423
424
425
426
427
428

	{
		textures = {"texture_Bottom_top", "texture_left_right", "texture_front_back"}, -- More tiles aren't supported
		groups = {group = rating}, -- Uses the known node groups, see [Known damage and digging time defining groups]
		sounds = SoundSpec,        -- See [#Default sounds]
		recipe = {{"","","","","","","","",""}}, -- Recipe field only
	}
429

Wuzzy's avatar
Wuzzy committed
430
431
Raillike definitions
--------------------
432

Wuzzy's avatar
Wuzzy committed
433
434
435
436
The following nodes use the group `connect_to_raillike` and will only connect to
raillike nodes within this group and the same group value.
Use `minetest.raillike_group(<Name>)` to get the group value.

paramat's avatar
paramat committed
437
| Node type             | Raillike group name
438
|-----------------------|---------------------
paramat's avatar
paramat committed
439
440
| default:rail          | "rail"
| tnt:gunpowder         | "gunpowder"
Wuzzy's avatar
Wuzzy committed
441
| tnt:gunpowder_burning	| "gunpowder"
Wuzzy's avatar
Wuzzy committed
442
443
444
445
446
447
448

Example:
If you want to add a new rail type and want it to connect with default:rail,
add `connect_to_raillike=minetest.raillike_group("rail")` into the `groups` table
of your node.


449
450
Default sounds
--------------
451

452
453
Sounds inside the default table can be used within the sounds field of node definitions.

454
455
456
457
458
459
460
 * `default.node_sound_defaults()`
 * `default.node_sound_stone_defaults()`
 * `default.node_sound_dirt_defaults()`
 * `default.node_sound_sand_defaults()`
 * `default.node_sound_wood_defaults()`
 * `default.node_sound_leaves_defaults()`
 * `default.node_sound_glass_defaults()`
461

PilzAdam's avatar
PilzAdam committed
462
463
Default constants
-----------------
464
465

`default.LIGHT_MAX`  The maximum light level (see [Node definition] light_source)
PilzAdam's avatar
PilzAdam committed
466

467
468
Player API
----------
469

470
471
The player API can register player models and update the player's appearence

472
`default.player_register_model(name, def)`
473

474
475
476
 * Register a new model to be used by players.
 * name: model filename such as "character.x", "foo.b3d", etc.
 * def: See [#Model definition]
477

478
`default.registered_player_models[name]`
479

480
481
 * Get a model's definition
 * see [#Model definition]
482

483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
`default.player_set_model(player, model_name)`

 * Change a player's model
 * `player`: PlayerRef
 * `model_name`: model registered with player_register_model()

`default.player_set_animation(player, anim_name [, speed])`

 * Applies an animation to a player
 * anim_name: name of the animation.
 * speed: frames per second. If nil, default from the model is used

`default.player_set_textures(player, textures)`

 * Sets player textures
 * `player`: PlayerRef
 * `textures`: array of textures, If `textures` is nil, the default textures from the model def are used
500
501

default.player_get_animation(player)
502
503
504
505
506

 * Returns a table containing fields `model`, `textures` and `animation`.
 * Any of the fields of the returned table may be nil.
 * player: PlayerRef

rubenwardy's avatar
rubenwardy committed
507
### Model Definition
508
509
510
511
512
513
514
515
516

	{
		animation_speed = 30,            -- Default animation speed, in FPS.
		textures = {"character.png", },  -- Default array of textures.
		visual_size = {x = 1, y = 1},    -- Used to scale the model.
		animations = {
			-- <anim_name> = {x = <start_frame>, y = <end_frame>},
			foo = {x = 0, y = 19},
			bar = {x = 20, y = 39},
517
		-- ...
518
519
		},
	}
PilzAdam's avatar
PilzAdam committed
520
521
522
523

Leafdecay
---------

524
525
526
To enable leaf decay for a node, add it to the `leafdecay` group.

The rating of the group determines how far from a node in the group `tree`
PilzAdam's avatar
PilzAdam committed
527
528
the node can be without decaying.

529
530
If `param2` of the node is ~= 0, the node will always be preserved. Thus, if
the player places a node of that kind, you will want to set `param2 = 1` or so.
PilzAdam's avatar
PilzAdam committed
531

532
The function `default.after_place_leaves` can be set as `after_place_node of a node`
533
534
535
to set param2 to 1 if the player places the node (should not be used for nodes
that use param2 otherwise (e.g. facedir)).

536
If the node is in the `leafdecay_drop` group then it will always be dropped as an
PilzAdam's avatar
PilzAdam committed
537
item.
PilzAdam's avatar
PilzAdam committed
538
539
540

Dyes
----
541

PilzAdam's avatar
PilzAdam committed
542
543
544
545
To make recipes that will work with any dye ever made by anybody, define
them based on groups. You can select any group of groups, based on your need for
amount of colors.

rubenwardy's avatar
rubenwardy committed
546
### Color groups
547

PilzAdam's avatar
PilzAdam committed
548
Base color groups:
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578

 * `basecolor_white`
 * `basecolor_grey`
 * `basecolor_black`
 * `basecolor_red`
 * `basecolor_yellow`
 * `basecolor_green`
 * `basecolor_cyan`
 * `basecolor_blue`
 * `basecolor_magenta`

Extended color groups ( * means also base color )

 * `excolor_white` *
 * `excolor_lightgrey`
 * `excolor_grey` *
 * `excolor_darkgrey`
 * `excolor_black` *
 * `excolor_red` *
 * `excolor_orange`
 * `excolor_yellow` *
 * `excolor_lime`
 * `excolor_green` *
 * `excolor_aqua`
 * `excolor_cyan` *
 * `excolor_sky_blue`
 * `excolor_blue` *
 * `excolor_violet`
 * `excolor_magenta` *
 * `excolor_red_violet`
PilzAdam's avatar
PilzAdam committed
579
580

The whole unifieddyes palette as groups:
581
582
583

 * `unicolor_<excolor>`

PilzAdam's avatar
PilzAdam committed
584
For the following, no white/grey/black is allowed:
585
586
587
588
589
590
591

 * `unicolor_medium_<excolor>`
 * `unicolor_dark_<excolor>`
 * `unicolor_light_<excolor>`
 * `unicolor_<excolor>_s50`
 * `unicolor_medium_<excolor>_s50`
 * `unicolor_dark_<excolor>_s50`
PilzAdam's avatar
PilzAdam committed
592
593
594

Example of one shapeless recipe using a color group:

595
596
597
598
599
600
	minetest.register_craft({
		type = "shapeless",
		output = '<mod>:item_yellow',
		recipe = {'<mod>:item_no_color', 'group:basecolor_yellow'},
	})

rubenwardy's avatar
rubenwardy committed
601
### Color lists
602
603

 * `dye.basecolors` are an array containing the names of available base colors
PilzAdam's avatar
PilzAdam committed
604

605
 * `dye.excolors` are an array containing the names of the available extended colors
606
607
608
609

Trees
-----

610
611
612
613
614
615
 * `default.grow_tree(pos, is_apple_tree)`
  * Grows a mgv6 tree or apple tree at pos

 * `default.grow_jungle_tree(pos)`
  * Grows a mgv6 jungletree at pos

rubenwardy's avatar
rubenwardy committed
616
 * `default.grow_pine_tree(pos)`
617
618
619
620
  * Grows a mgv6 pinetree at pos

 * `default.grow_new_apple_tree(pos)`
  * Grows a new design apple tree at pos
621

622
623
 * `default.grow_new_jungle_tree(pos)`
  * Grows a new design jungle tree at pos
paramat's avatar
paramat committed
624

625
626
 * `default.grow_new_pine_tree(pos)`
  * Grows a new design pine tree at pos
paramat's avatar
paramat committed
627

628
629
 * `default.grow_new_acacia_tree(pos)`
  * Grows a new design acacia tree at pos
paramat's avatar
paramat committed
630

631
632
 * `default.grow_new_aspen_tree(pos)`
  * Grows a new design aspen tree at pos
paramat's avatar
paramat committed
633

634
 * `default.grow_new_snowy_pine_tree(pos)`
red-001's avatar
red-001 committed
635
  * Grows a new design snowy pine tree at pos