1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-11-16 06:50:18 +01:00
minetest_game/mods/default/models
Auke Kok 0bd2efcfc1 Merge 'torches' mod as default:torch.
This merges the current state of the well-maintained and tested
`torches` mod as I've maintained it for the last 6 months.

This started out as a thorough cleanup of 3D torches by blockmen,
where some of the initial code still remains.

The models were redone entirely from scratch and have been extensively
tested with dozens of animated textures converted with mcimport,
and look a lot better than the original 3D Torches mod.

The ceiling torch is retained and functional. The `wieldlight`
addition that the torches mod has was removed, since it relies
on wieldview to look decent. This can stay external mod code.

I've opted to move the torch nodes to a separate file. It's not
a lot of code but nodes.lua is already huge, and I wanted to
retain the copyright header and some of the readme.txt notes,
and this was the easiest way of doing it.

This code passes "default:torch" to nodes with on_rightclick,
fixing problems with itemframes. Essentially it has a more
elaborate item_place() routine to make sure we're not passing
the wall torch to nodes that may display it.

The ceiling torch is a separate model and not the same as the
floor model. That does mean that there are 3 models in this
mod.
2016-11-23 15:29:53 -08:00
..
character.b3d Default: Fix character model uv-mapping 2016-06-22 02:12:11 +01:00
character.blend Default: Fix character model uv-mapping 2016-06-22 02:12:11 +01:00
character.png Re-export character.b3d without texture linkage. 2016-03-18 02:35:14 +00:00
torch_ceiling.obj Merge 'torches' mod as default:torch. 2016-11-23 15:29:53 -08:00
torch_floor.obj Merge 'torches' mod as default:torch. 2016-11-23 15:29:53 -08:00
torch_wall.obj Merge 'torches' mod as default:torch. 2016-11-23 15:29:53 -08:00