Colorable banisters

ContentDB: will be soon

Forum: https://forum.luanti.org/viewtopic.php?t=32421

Codeberg: https://codeberg.org/MatyasP/cobanisters

Information about mod in languages:

Colorable banisters

Adds 9 simple banisters (4 front, 4 corner and 1 corner-point) and support for creating own.

Mod inspired by 1F616EMO’s mod banisters (with nice banisters) – https://content.luanti.org/packages/Emojiminetest/banisters/ – without using any part of code

  • 1F616EMO’s mod banisters is fork from Felfa’s banisters:

https://gitlab.com/lifo-mods/banisters

How to add own banisters

Supported types of shapes of the banisters

  f = front,
c = corner
cp = corner point,

Supported shapes

  {nodebox} - for example, {-0.5,-0.5,0.375,0.5,0.5,0.5},
"model.obj" - for example, "cobanisters_base.obj",
  {"gen",l,u,m,n} - generated nodebox from parts, if you want to save your time,
  - for example: see to default written - {"gen",l_f,u_f,m_01,5}

How to add it

  1. See in code: REGISTRATION (in version 10101, it is about line 40)
  2. Copy any row from before
  3. Set the name (must be unique), description, shape type of banister, shape, texture and palette
  4. Load the media to the folders and name it correctly
  5. Activate the mod (if isn’t activated) or start / restart the server

Planned features

  • more type of banister shapes
  • add rotatable banisters with rotatable collisionbox

License

  • MIT for code
  • CC0 for media
  • (in future, too CC BY 4.0 for advanced textures)

Using AI

  • idea fully made by human
  • structure of code made by human
  • AI (Google Gemini) helped with basic Lua syntax (Q & A for using tables etc.) and some bugfixes
  • human completed the code

Basic banisters

Front (5-column), corner (5-column) and corner-point variant

All front and corner variants

10101 – First public release

10102 – bugfix & added some banisters
  • repaired bug in registration of corner and corner-point banisters
  • addded corner and cornerpoint banisters,
  • added 2- and 3-column banisters
10103 – license update
  • added informations about CC BY 4.0 licence

V budoucnu doplním