https://github.com/desour/ash
[Mod] Ash [ash]
https://github.com/desour/ash
ash fire minetest minetest-mod mod
Last synced: 3 months ago
JSON representation
[Mod] Ash [ash]
- Host: GitHub
- URL: https://github.com/desour/ash
- Owner: Desour
- License: other
- Created: 2017-09-08T18:24:30.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-06-16T16:04:39.000Z (over 6 years ago)
- Last Synced: 2025-02-08T02:24:55.666Z (8 months ago)
- Topics: ash, fire, minetest, minetest-mod, mod
- Language: Lua
- Size: 148 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license.txt
Awesome Lists containing this project
README
# Ash

This mod adds ash when fire burns something.### API:
Every flammable node without `on_burn` will be overridden to make ash on burn.
If you want your node to make more ash, call in its `on_burn` `ash.burn_node(pos, param2)` a higher `param2`.If you have a node that should be transformed to another node when ash is lying on it, do `ash.nodes_with_ash["your:node"] = "convert:to"` and `ash.nodes_with_ash[#ash.nodes_with_ash] = "your:node"`.
You can also call `ash.ash_onto_node(pos)` if you want your node to be transformed directly. Note: `pos` is the position of the ash.### Licenses:
Look into `license.txt`.
[](https://creativecommons.org/publicdomain/zero/1.0/)[](http://www.wtfpl.net/)[](https://creativecommons.org/licenses/by-sa/4.0/)