mesecode/README.md

35 lines
607 B
Markdown
Raw Permalink Normal View History

2014-10-12 11:23:20 -07:00
MeseCode
========
A readable modding format for Minetest. Scripts are written in MeseCode, which is then converted into Lua.
2014-10-19 11:07:12 -07:00
The copyright of mesecode scripts, and any resulting Lua files, remains with their author.
2014-10-12 11:23:20 -07:00
2014-10-19 11:07:12 -07:00
Created by rubenwardy, license: GPL 3.0 or later
2014-10-12 11:23:20 -07:00
2014-10-19 11:07:12 -07:00
```
mod candy_gem
2014-10-12 11:23:20 -07:00
2014-10-19 11:11:42 -07:00
craftitem Candy Gem
2014-10-19 11:07:12 -07:00
is food=2
eaten 5
node Candy Gen in Stone
is ground, cracky
drops Candy Gem
script script_one.lua
```
2014-10-12 11:47:56 -07:00
Usage
-----
2014-10-19 11:07:12 -07:00
```Shell
2014-10-19 10:58:30 -07:00
# installed
$ sudo make install
$ mesecode.py path/to/file.mese output/directory
# or portable version
2014-10-12 11:47:56 -07:00
$ python mesecode.py path/to/file.mese output/directory
2014-10-19 11:07:12 -07:00
```