2022-02-05 03:19:15 +00:00
|
|
|
## this project might not be actively maintained
|
2022-02-05 03:14:38 +00:00
|
|
|
but i may change my mind and contributions are welcome
|
|
|
|
|
2022-02-05 03:19:15 +00:00
|
|
|
## info
|
|
|
|
- i made this script for own use and thus it is not complete, but additions are very welcome!
|
|
|
|
- the code is messy and too copy-pastey. i might change this, or if i don't, do it before i do and share the change with me!
|
|
|
|
|
2022-02-05 03:14:38 +00:00
|
|
|
## how to use
|
|
|
|
install [wren-cli](https://wren.io/cli/) from [here](https://github.com/wren-lang/wren-cli/releases)
|
2022-02-05 03:19:15 +00:00
|
|
|
|
2022-02-05 03:14:38 +00:00
|
|
|
run `wren-cli generator.wren help` to print this:
|
|
|
|
```
|
2022-02-05 03:20:53 +00:00
|
|
|
Usage: (script call) [options] <type> <base path> namespace <types...>
|
2022-02-05 03:14:38 +00:00
|
|
|
Example: wren_cli generate.wren wood /path/to/mod_files_base/ namespace firstwood secondwood
|
|
|
|
|
|
|
|
Options:
|
|
|
|
-v --verbose Print the written files
|
|
|
|
-w --warn Print warnings when files or directories don't exist
|
|
|
|
|
|
|
|
Types:
|
|
|
|
- wood The vanilla wood family as well as platform and tile variants
|
|
|
|
- woodvanilla Hardcoded to generate extensions for the vanilla wood types
|
|
|
|
- variants Block, stairs, slab and platform
|
|
|
|
- stone Like variants but with wall and stonecutting as well as adding an s to the full block
|
|
|
|
- single A single block
|
|
|
|
```
|
2022-02-05 03:19:15 +00:00
|
|
|
happy generating and/or modding!
|