Commit Graph

315 Commits

Author SHA1 Message Date
paramat
69614dc20d Pinetree (by sfan5, from mg mapgen) lua generation and sapling ABM. Add checks for ignore to other trees 2014-12-12 16:11:42 +01:00
Calinou
75dfcdb1e7 Add 3D signs 2014-12-12 16:10:30 +01:00
ShadowNinja
c332081e81 Add white to the crack texture
This makes the crack stand out better on dark textures,
like obsidian and black wool.
2014-12-12 16:06:55 +01:00
HybridDog
608e51f16d Add obsidianbrick
use Zeg9`s texture
2014-12-12 16:04:27 +01:00
PilzAdam
2ebd6b3839 Correct node definitons for pine saplings and pine needles 2014-12-07 11:57:37 +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
PilzAdam
4ec4672f01 Remove remains of weather 2014-12-06 20:58:03 +01:00
PilzAdam
9ec33f34f1 Set param2 to 1 if player places leaves 2014-12-06 20:36:20 +01:00
PilzAdam
2c2edfad04 Move leafdecay doc to game_api.txt 2014-12-06 20:36:20 +01:00
PilzAdam
20f938e44a Allow the group book to be placed into bookshelfs 2014-12-06 11:46:04 +01:00
PilzAdam
fd34872de8 Fix possible stacking of books in bookshelf
Original author: @MT-Modder
2014-12-06 11:43:07 +01:00
PilzAdam
31edc5a9ff Add all saplings to group sapling 2014-12-03 17:26:01 +01:00
PilzAdam
19bdcb26f6 Add missing groups to pine sapling 2014-12-03 17:26:01 +01:00
Craig Davison
128f0adb24 Fix some undeclared global variables 2014-11-30 18:02:33 +01:00
paramat
6fb072e5ff Pine tree, pine needles, pine sapling and pinewood nodes, including textures by Splizard and Cisoun 2014-11-30 17:47:02 +01:00
kilbith
6680a51988 New ladder texture 2014-11-23 11:54:40 +01:00
PenguinDad
3bf3249d71 Fix leaking globals in flowers and default mapgen.lua
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-22 00:24:49 +10:00
paramat
e71b71c1a9 Default and flowers: only run on-generated functions in mgv6. Remove indev ore definitions 2014-11-16 19:38:04 +01:00
kilbith
c41762d211 New grass(plant) and leaves textures 2014-11-08 22:54:00 +01:00
kilbith
ba8cbbcdbd Add new ore blocks textures 2014-10-05 08:49:55 +02:00
BlockMen
56cc4191ca Tweak some textures, new chest texture 2014-10-03 11:29:17 +02:00
BlockMen
6532978a58 Add improved grass textures by @Philipbenr (slightly modified), fixes #323 2014-10-03 11:29:10 +02:00
BlockMen
7f44a49d99 Use new optional framed glasslike drawtype 2014-10-02 11:51:47 +02:00
BlockMen
5047540db2 Make new textures fit existing style 2014-09-27 20:33:17 +02:00
Neuromancer56
9dfaab7f20 Some new textures (natural beauty texturepack) 2014-09-27 20:10:58 +02:00
BlockMen
c4969665e7 Fix dye stuff, fixes #243 2014-09-16 19:40:50 +02:00
ShadowNinja
9670c27161 Clean up treegen code 2014-09-16 18:38:11 +02:00
CraigyDavi
cc2573acdf Remove API from player.lua
It's now in game_api.txt
2014-09-16 17:07:43 +02:00
Calinou
49a8ddc822 Make sand and some leaves sounds quieter 2014-08-22 11:52:51 +02:00
BlockMen
11c04e984d Localize player_attached 2014-08-21 16:49:30 +02:00
Zefram
a8ad9bfc9d Consistently use group:stick in tool recipes
The left-handed recipes for axes were using default:stick instead of
the group:stick used by all other tool recipes.
2014-07-22 13:03:45 +02:00
Zefram
d4c24a30e9 Retain sign text when editing is aborted by <esc> 2014-07-22 13:00:20 +02:00
Novatux
c521cb06bf Better ingot textures 2014-07-13 19:37:01 +02:00
BlockMen
7ea81f0906 Fix papyurs texture 2014-07-05 16:06:23 +02:00
BlockMen
49ad1c1bf7 Make gui part of default 2014-07-05 16:06:16 +02:00
David Gumberg
e106fd51ca Compress all textures losslessly using optipng and advpng 2014-07-05 16:06:00 +02:00
BlockMen
18d0bdd2bb Add boats 2014-07-05 16:03:33 +02:00
HybridDog
d0aa09dd8d New fence texture 2014-07-05 16:03:14 +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
a3e92c4524 New textures 2014-07-05 16:01:53 +02:00
SmallJoker
a32751800c Add furnace protection, eat some lines of codes
This adds protection for furnaces (when the area is protected, so it the
furnace).
Also made the codes a bit shorter..
2014-07-05 16:01:28 +02:00
Sfan5
16b625d963 Add fancy inventory for bookshelves 2014-07-05 15:57:55 +02:00
arsdragonfly
bb76f17703 Add a inventory to bookshelf, in which books are unstackable 2014-07-05 15:57:45 +02:00
BlockMen
104018d711 Add fancy inventories 2014-07-05 15:57:35 +02:00
paramat
d0a98b5331 Add cuboid wieldhand (Sam II) 2014-07-05 15:56:40 +02:00
marvok
195fec2689 Add mirrored recipes for axes 2014-07-05 15:56:32 +02:00
Vanessa Ezekowitz
b3f4f406c4 Modify default grasses rather than entirely re-defining them
Also, move "waving = 1" property for grasses/shrubs over to default/nodes.lua
and put all instances of this property right under the drawtype, since they
are directly related and depend on the above.
2014-07-05 15:56:15 +02:00
Casimir
9559f695ec Dig upwards for papyrus and cactus 2014-07-05 15:56:07 +02:00
Sfan5
919c9d152b Add Desert Cobblestone 2014-07-05 15:55:59 +02:00
BlockMen
15740ffd3d Add animations for third person view 2014-04-12 01:17:54 +02:00
4Evergreen4
a5dcf123e0 Add animated front texture for active furnace 2014-02-17 18:21:08 -05:00
Jordan Snelling
e134282093 Add Sam II
<PilzAdam> why dont you include sam II in there?
2014-02-07 18:45:00 -05:00
Jordan Snelling
428a8127cb Added a caped player model, which works like the
hat layer, when the area for the cape (a 8x12 set of pixels) which is to
the right of the arm texture, is given a non-alpha or semi-alpha pixel,
it will display ingame, similar to the hat layer on the player's head.
2014-02-07 18:45:00 -05:00
ShadowNinja
d09d8f02a4 Fix crash with nil fuel 2014-01-11 11:27:21 -05:00
ShadowNinja
8eff7ba0cd Add protection support to signs 2013-12-22 17:42:03 -05:00
Novatux
47a49eccf4 Use minetest.swap_node instead of hacky_swap_node 2013-12-08 18:12:44 +01:00
kaeza
ba4c80644e Fix player skin changing code. 2013-12-06 22:45:17 -05:00
RealBadAngel
81e9a7cb36 Add waving property for leaves and plants. 2013-12-03 19:15:19 +01:00
kwolekr
a5a59e3552 Explicitly set values of is_ground_content
Counterpart commit to minetest 9a927476
2013-11-30 02:42:57 -05:00
kwolekr
bdd22db33d Add is_ground_content setting to grass_1, apple, and dry shrubs 2013-11-29 23:47:13 -05:00
PilzAdam
51de4236ab Remove / replace all print() calls 2013-11-17 11:55:46 +01:00
PilzAdam
5d0795a1a7 Fix indentation, use log() instead of print() and use get_item_group() in tree growing ABM 2013-11-17 11:46:41 +01:00
kaeza
4c0c7ae146 Rewrite player.lua 2013-11-09 12:09:30 -02:00
Vanessa Ezekowitz
4bd6bce86e Allow cactus to lay on its side also. 2013-11-08 00:56:20 -05:00
4Evergreen4
3653859961 Add 6d facedir to logs. 2013-11-07 20:16:54 -05:00
BlockMen
9fdbc1f407 Fix tree growing and jungle sapling growth rate 2013-11-07 00:13:51 +01:00
4Evergreen4
91849c3b4e Implemented facedir in the nyan cat rainbow 2013-11-03 15:30:24 -05:00
Novatux
2d9f34cf29 Fix possible crash with grass ABM. 2013-11-02 16:12:51 +01:00
Novatux
c21dccd7fa Fix grass adding/removing ABM. 2013-11-02 13:47:45 +01:00
Novatux
a4b4de6d0e Move sapling growing and grass adding/removing ABMs to Lua. 2013-11-02 11:03:08 +01:00
PilzAdam
672fdbcc11 Fix stone and wooden axe being slower than hand 2013-11-01 17:16:47 +01:00
ShadowNinja
7b8ad5786c Add and use the stick group 2013-11-01 11:34:24 -04:00
Kahrl
cf6f458906 Remove mapgen_air alias 2013-10-05 18:50:33 +02:00
Sfan5
a4823a4261 Add mapgen_stair_cobble to minetest_game 2013-09-06 21:47:21 +02:00
BlockMen
fa9424c31b Update drowning
Needed if #851 gets merged
2013-08-02 08:12:20 +02:00
proller
eb71e01887 Snow default level up 2013-07-28 17:21:18 +04:00
proller
83133210cc Melting and freezing 2013-07-27 23:37:54 +04:00
GloopMaster
90fde974a2 Mese and Diamond ore description consistancy.
Merely creates consistancy in the in-game naming of the ores.
2013-07-11 02:54:10 +02:00
HybridDog
6fed6867cb Add lavacooling sounds 2013-07-11 02:28:36 +02:00
PilzAdam
c4bb058421 Add bubble texture for drowning 2013-06-19 21:46:42 +00:00
PilzAdam
b0ab4fb4ab Generate clay with register_ore() 2013-06-18 00:51:26 +00:00
PilzAdam
d7784c0729 Make dry shrubs buildable_to 2013-06-13 15:15:42 +00:00
PilzAdam
179f4c3f91 Use louder footstep sound as dug_node 2013-06-13 14:36:11 +00:00
BlockMen
486509876a Separate formspecs of active furnace and chests
Makes its possible to override formspecs by mods
2013-06-12 23:06:26 +00:00
Mitori Itoshiki
c3c5f8a228 New sounds 2013-06-12 22:38:40 +00:00
Zeg9
a654c0dbbd Better diamond block texture 2013-05-26 12:43:42 +02:00
Sfan5
c2ce3d032e Pngcrush all Textures 2013-05-25 16:20:35 +02:00
PilzAdam
31a74ede18 Replace minetest.env: with minetest. 2013-05-25 00:40:03 +02:00
Zeg9
dfad095884 New metal block textures 2013-05-24 17:52:36 +02:00
PilzAdam
8dd2a77ff1 Fix a typo in apple decaying 2013-05-21 20:02:47 +02:00
PilzAdam
5d11a34b04 Add farming mod 2013-05-21 18:53:10 +02:00
PilzAdam
0dd813b5f8 Let apples fall when the tree is decaying 2013-05-21 18:50:39 +02:00
PilzAdam
d015f0e2e6 Add the soil group 2013-05-20 14:38:51 +02: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
c809fc9655 Add a better mossycobble texture 2013-03-20 17:40:11 +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
67fa74ac01 Fix texture glitch when digging junglegrass 2013-01-15 20:30:55 +01:00
PilzAdam
d5cc51a396 Update minetest.show_formspec() 2013-01-07 20:42:31 +01:00
Gloop Master
cd604fa9c8 Better lump & ingot textures 2013-01-06 12:07:19 +04:00
PilzAdam
c27afe7ee8 Add junglegrass to mapgen 2013-01-05 00:46:46 +01:00
PilzAdam
97db50a2fe Expose generate_ore 2013-01-04 21:55: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
0eb46a01ff Remove old unused texture 2012-12-29 00:29:52 +01:00
Jordan Snelling
de8726a9f7 new mese pick texture 2012-12-28 21:34:10 +00:00
PilzAdam
33ec25caed Convert old mese to the new mese block and generate it deep underground 2012-12-28 20:05:40 +01:00
Splizard
2d1e7463d3 Run nodeupdate after decay. 2012-12-28 02:30:52 +01:00
Jordan Snelling
7505fbce51 add new texture with shading this time around.
also, license follows the default one since thats how the textures for
minetest_game usually work.
2012-12-27 21:58:57 +00:00
Iqualfragile
9232734a48 Removed significant details from default_dirt.png to make it look less repetative
Fixed default_grass_side.png
2012-12-22 20:08:56 +04: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
Perttu Ahola
91937acf76 Merge Taoki's 3D player improvements 2012-11-27 08:15:38 +02:00
MirceaKitsune
e7b4b2ba57 Fix the death animation looping while the player is dead, by using a still frame instead (I don't believe the amount of detail for a full animation is needed anyway). Also call the animation Lay instead of Death, so other mods like beds can use it 2012-11-27 02:50:19 +02:00
MirceaKitsune
89fb5aed7f Fix positioning for sit animation 2012-11-27 01:52:39 +02:00
MirceaKitsune
df54836ea0 Add support for hats, so that MineCraft skins using this feature are compatible 2012-11-27 01:26:51 +02:00
MirceaKitsune
f2a67871d2 VanessaE suggested a sit animation, so add one to the player. Not used by default, but many mods might find this handy 2012-11-27 01:19:48 +02:00
PilzAdam
c3eaa9cd64 Add glass breaking sound 2012-11-26 19:53:28 +01:00
Vanessa Ezekowitz
d39044a2a7 new apple image. 2012-11-25 20:25:28 +01:00
MirceaKitsune
24d8d79ea1 Make the arms swing more for the walk animation 2012-11-25 21:02:01 +02:00
MirceaKitsune
cb4bfa51a1 Models allow multiple materials with multiple textures, so make the player texture field a list instead 2012-11-25 21:02:01 +02:00
MirceaKitsune
7a01de2f36 Improve and optimize the player script and add better comments 2012-11-25 21:02:01 +02:00
MirceaKitsune
c7a4a68d28 Implement death animation, but it currently loops constantly after the player dies (the player gets up and falls to the ground forever) 2012-11-25 21:02:01 +02:00
MirceaKitsune
91da5d1308 Model - Get rid of the 4 walk animations and only leave one, which looks good for all directions. Also add a Walk + Mine animation, since Irrlicht doesn't support blending the two animations otherwise
Update player script to match the animations in the previous commit

Shorten the still mine animation so the hand matches the speed of the walk-mine animation

Reduce animation speed to half when sneaking
2012-11-25 21:02:01 +02:00
MirceaKitsune
39e4bf0346 Get player walking and standing animations working! The player will play the proper animation when walking or standing.
Also get the mine animation working when holding the left mouse button. Walk animations have priority over it, and sadly you can't play both at the same time

Set initial player animation to stand
2012-11-25 21:02:01 +02:00
MirceaKitsune
dce87664d2 Important improvements to the player script. Instead of setting model and texture every X seconds, only do it when the player joins (so far)
Add a function which allows registering different frame ranges for different player models

Cosmetic improvements to the player script

More progress on the player animation functions, this commit adds useles code currently
2012-11-25 21:02:01 +02:00
MirceaKitsune
b97400d71d Updated texture from Jordach, and fix the licensing confusion
I forgot frame range definitions need to be per-model, since each model could have its own animations. Specify current ones as being player.x's

Add death animation, and correct many mesh issues I didn't notice last time
2012-11-25 21:02:01 +02:00
MirceaKitsune
abaf4c5121 Remove segmentation of limbs, because I don't like how the arms appeared to shrink during some deformations. This makes the player mesh exactly like the one in MineCraft, and gives people more reasons to complain that we're copying it :P
Rename player to character, to avoid conflicting with the default player sprite

New skin by Jordach

Add licenses to readme for the model and skin

Fix bad mirroring of left arm for player model
2012-11-25 21:02:00 +02:00
MirceaKitsune
609646b9b5 At last, we have a player.
Consists of a simple standi animation currently being looped.

Compatible with any MineCraft skin, no texture included on GIT for licensing reasons.

Walk animations for the player (forward, backward, strafe left and strafe right). This commit removes other test cases from the default script, so that player.lua can be brought to what it's intended for

Punch / mine animation, and some consistency improvements to the player script
2012-11-25 21:02:00 +02:00
MirceaKitsune
04d40a5ce4 Fix attachment test script and unregistered entities. Thanks jin_xi for this 2012-11-25 21:02:00 +02:00
MirceaKitsune
24781813fa b3d, you have failed me. x model format, you're in
Entries for the newly added animation features

Update player script to work with the latest code

Add a test case for attachments. A LUA entity is attached to the player with a specified name 10 seconds after the server starts

Add a detachment test case (5 seconds after attaching)

Update function names, plus add a test case for both player to player and lua-entity to player attachments
2012-11-25 21:02:00 +02: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