Commit Graph

82 Commits

Author SHA1 Message Date
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
Fernando Carmona Varo
bcb4426ec7 Default: Destroy flammable items when in fire or lava
The check for igniters (fire/lava) will be performed every 10 secs
if the item is flammable.

if the item is found to be in lava it will then burn up and
disappear in a smoke puff.

If a non-lava igniter node is found, a combination of `flammable`
value of the item and `igniter` group value of the node will be used
to determine the chance for the item to be removed.
2016-10-23 03:48:37 +01:00
Pinky Snow
5e9e3f7e84 Default: Eliminate redundant 'get modpath' calls 2016-08-29 00:31:18 +01:00
Auke Kok
e0cb3fce02 Default: Convert saplings to use node timers
Each sapling is given a single node timer that is between
2 and 4 days of game play time (40-80 minutes). If you walk out
of the zone, and come back later, the tree will always grow
to full if the timer has elapsed.

Because trees.lua is all functions, it needs to be parsed before
nodes.lua, since that references some of its functions. Hence,
change the order of parsing here. Otherwise saplings would not
grow to full.
2016-05-25 03:27:08 +01:00
Amaz
7361eb5e05 Add the listring functionality c977fbd928 2015-06-23 19:17:57 +02:00
Craig Davison
a9137e8c21 Fix typo in survival formspec & create legacy file 2015-02-12 22:18:22 +01:00
PilzAdam
c654c9fd11 Remove weird constants in default 2015-01-10 15:47:30 +01:00
PilzAdam
5a06de184c Rewrite furnace
* Move furnace related code into furnace.lua
* Move duplicated code into functions
* Rewrite ABM:
	* Easier to follow strcuture (no returns in the middle)
	* No unnecessary calls to get_craft_result
	* Split logic and "visual feedback" (a bit)
	* Fewer calls to meta:set and meta:get
	* Better feedback on the current state of the furnace
2014-12-06 21:18:02 +01:00
BlockMen
49ad1c1bf7 Make gui part of default 2014-07-05 16:06:16 +02:00
BlockMen
13dfc2c0e9 More new Textures, Clean up a bit 2014-07-05 16:03:06 +02:00
BlockMen
4602bd5999 Remove legacy, move aliases to default 2014-07-05 16:02:01 +02:00
BlockMen
104018d711 Add fancy inventories 2014-07-05 15:57:35 +02:00
BlockMen
9fdbc1f407 Fix tree growing and jungle sapling growth rate 2013-11-07 00:13:51 +01:00
PilzAdam
ea6d504b01 Split init.lua into several files 2013-05-19 18:43:04 +02:00
PilzAdam
fcf0816fa8 Move all common mods back to minetest_game 2013-05-18 16:05:16 +02:00
PilzAdam
d6ec56811b Use common mods 2013-03-21 18:44:36 +01:00
PilzAdam
b4e9ef269b Make grass buildable_to 2013-03-20 16:22:59 +01:00
hdastwb
648a11263b Use replacements in furnace and replace lava bucket with empty bucket when used as fuel 2013-03-19 19:30:06 +01:00
PilzAdam
467e2029e2 Add stonebricks 2013-03-19 17:42:26 +01:00
PilzAdam
3a617bcb6e Add papyrus and cactus growing 2013-03-19 01:01:22 +01:00
PilzAdam
d5c373e290 Make it possible to override the default.cool_lava_* functions 2013-03-19 00:04:17 +01:00
PilzAdam
4c5cb106c3 Dont allow to place not-fuel items in the fuel field in the furnace and dont allow to place any item in the dst field 2013-03-18 23:47:39 +01:00
PilzAdam
9ff8f8038e Add grass 2013-03-18 22:27:15 +01:00
PilzAdam
a4426e4bd4 Make lava not renewable 2013-03-17 18:52:11 +01:00
jojoa1997
e82c122822 Add obsidian 2013-03-17 17:31:51 +01:00
PilzAdam
e43573b46b Use animation for new_style_water 2013-03-17 16:51:36 +01:00
PilzAdam
4b9914fdcb Add jungleleaves, junglewood and junglesapling 2013-03-16 21:55:29 +01:00
PilzAdam
0d924e7e4d Add lavacooling 2013-03-09 21:55:01 +01:00
jojoa1997
90aaa1fb62 Fixe digging times of axes 2013-03-03 11:15:05 +01:00
HybridDog
e1d17b1747 Update mods/default/init.lua
how did this line get there?
2013-02-08 15:03:14 +01:00
Jat
2817db19d4 Fix duplicate in default 2013-02-06 02:43:48 +01:00
PilzAdam
d5cc51a396 Update minetest.show_formspec() 2013-01-07 20:42:31 +01:00
PilzAdam
a0ba7cf973 Show the contents of the locked chest only to the owner 2013-01-04 21:25:37 +01:00
PilzAdam
0beabfc755 Fix a glitch where the player gets liquids in his inventory when the server lags 2013-01-04 16:47:29 +01:00
PilzAdam
33ec25caed Convert old mese to the new mese block and generate it deep underground 2012-12-28 20:05:40 +01:00
Vanessa Ezekowitz
1bf62bbad4 Changed Mese to act like an object cut out of a block of stone, rather than an
object found *among* the stone.

That is, mese should behave such that you get something potentially useful out
of the aggregate block you just broke, rather than just collecting the whole
block when mined.

Mese crystals in stone give a single Mese Crystal when mines. Craft three of
those + 2 sticks for Mese Pickaxe, or 9 for a Mese block. Craft one Mese
Crystal by itself to get 9 Mese Crystal fragments, which all mods should use
when a full Mese Crystal is too much.

This includes new textures for the above objects, tweaks to the sounds used for
them, and naming tweaks for the textures used for default mese in stone, so
that old texture packs don't use the "wrong" image.

This represents my best effort to match C55's suggestions.
2012-12-18 17:56:23 +01:00
Calinou
73d078fd27 Damage tweaks 2012-12-15 18:05:14 +01:00
DannyDark
4763fa635a Fix glass step sound 2012-12-10 18:43:12 +01:00
PilzAdam
3928eccf74 Use the group attached_nodes 2012-12-01 14:39:23 +01:00
MirceaKitsune
0057a87b99 Add script to turn players into meshes, ticks every 1 second
Trigger the player.lua file in init.lua

Commit the ugly and temporary test model and texture. We'll get to a real animated player mesh once the code for that is ready

Set visual_size accordingly so the player model doesn't stretch vertically (default of the sprite player)

Attempt to use the b3d model format, although it doesn't seem to work so far
2012-11-25 21:02:00 +02:00
PilzAdam
e9ad8d06c8 Render nayncat as a cube in inventory 2012-11-24 18:13:43 +01:00
PilzAdam
0495f9e209 Rotate the wield image of the shovel for better animation 2012-11-24 17:24:02 +01:00
Vanessa Ezekowitz
d0638d7284 sandstone should drop itself, and craft back to 4 sand.
Otherwise you lose 3 sand every time you have to dig up sandstone to move it.
2012-11-23 22:23:13 -05:00
PilzAdam
165da9348a Use groups to craft things 2012-11-18 17:47:22 +01:00
PilzAdam
df2fdba2b4 Make steel block and brick drop themselves when digged and make them craftable back into the their materials 2012-11-12 17:51:48 +01:00
PilzAdam
2768d4974b Add VanessaE's selection box for apples, saplings and papyrus 2012-11-11 18:17:09 +01:00
PilzAdam
4a68126a2b Add animation for water 2012-11-02 18:24:25 +01:00
darkrose
25a6cd866b Merge pull request #18 from darkrose/master
stop using hacks for sign input
2012-11-01 11:07:17 -07:00
PilzAdam
e5502c9415 Move falling to builtin 2012-10-31 19:09:17 +01:00
darkrose
e5e62f9085 formspec changes 2012-10-29 02:03:27 +10:00