Topic: types of terrain @ world configuration
Tibor Topic Opener |
Posted at: 2014-01-11, 22:43
Hi, still playing with editor and LUA scripting... about field.terr and field.terd - where can I get valid list of terrains? I found that f.e. snow terrain is 'schnee' - so I would need some help... of course I could just test all surfaces and create my own "dictionary" - but perhaps there is an easier way... and in documentation this should be available - I believe... Thanks! Top Quote |
SirVer |
Posted at: 2014-01-12, 06:38
See worlds/greenland/terrainconf and similar for the other worlds. The names in [ ] brackets are the valid ones. btw, if you find the documentation to be lacking, feel free to contribute patches to it. The documentation for the core libraries is inlined in the code - src/scripting/.cc - as comments. The aux libraries are also inlined and live in scripting/.lua . Top Quote |
Tibor Topic Opener |
Posted at: 2014-01-14, 21:29
in fact I dont know how to upload changes via BZR, I presume that wiki is also generated from those source files.. Top Quote |
SirVer |
Posted at: 2014-01-15, 05:34
no, it is not. The dynamic content of the Wiki can be changed in the browser. No need to mess with bzr. Top Quote |
Tibor Topic Opener |
Posted at: 2014-01-15, 22:22
at least here: https://wl.widelands.org/docs/wl/core/ I am not able to see any button/link to edit the page... Top Quote |