Perttu Ahola
81c5e5200b
Fix loading of legacy chests
2012-06-03 22:31:01 +03:00
Perttu Ahola
3899f83da8
NodeMetaRef:{to,from}_table and lua_api.txt additions
2012-06-03 22:31:01 +03:00
Kahrl
f8c3743991
added PlayerSAO and RemotePlayer, removed ServerRemotePlayer
2012-03-29 14:05:45 +03:00
Kahrl
00bc9a8678
tool and ToolItem apply item aliases
2012-01-22 17:31:20 +02:00
Kahrl
b4dd5d3bd7
Client-side prediction of inventory changes, and some inventory menu fixes
2012-01-22 17:31:20 +02:00
Kahrl
6a76c226e1
The huge item definition and item namespace unification patch (itemdef), see http://c55.me/minetest/wiki/doku.php?id=changes:itemdef
2012-01-12 06:10:39 +01:00
Perttu Ahola
103173fc9b
Add InvRef and InvStack (currently untested and unusable)
2012-01-02 01:49:38 +02:00
Perttu Ahola
6145a135bd
Make ToolItem and MaterialItem to convert names by aliases at creation time too (necessary for eg. crafting)
2011-12-04 02:12:45 +02:00
Perttu Ahola
4ad8891e05
Convert CraftItems directly to the name pointed by alias; necessary due to lua definition table
2011-12-04 01:16:22 +02:00
Perttu Ahola
e494b5d422
Show infotext for unknown items placed on ground
2011-12-03 13:46:19 +02:00
Perttu Ahola
69bc9224db
Rename "NodeItem"/"ToolItem"/"CraftItem" to "node"/"tool"/"craft"
2011-12-02 12:12:07 +02:00
Perttu Ahola
5344dec760
Move ServerRemotePlayer to a separate file
2011-12-02 10:44:20 +02:00
Perttu Ahola
3509714951
Fix loading of legacy MaterialItems (was loaded as a quite random type)
2011-12-01 12:50:32 +02:00
Giuseppe Bilotta
aab50cd2cc
Fix conditional bug in inventory
...
A spurious semicolon after the conditional checking for the drop count
to be not higher than the owned count caused the subsequent
count = getCount()
to be always executed. Fix by removing the extra semicolon.
2011-12-01 10:41:24 +02:00
Perttu Ahola
f6c6c4f917
Load count 0 in itemstring as 1
2011-12-01 00:04:21 +02:00
Perttu Ahola
bc48cf076d
Remove content_inventory.{h,cpp}
2011-11-29 19:13:59 +02:00
Kahrl
d6b30dd3a5
CraftItem rework and Lua interface
2011-11-29 19:13:58 +02:00
Perttu Ahola
e880cc40e9
Fix stuff in inventory.{cpp,h}
2011-11-29 19:13:57 +02:00
Kahrl
f42c57d9a8
Add IDropAction and related stuff
2011-11-29 19:13:54 +02:00
Perttu Ahola
9d5b458479
Crafting definition in scripts
2011-11-29 19:13:48 +02:00
Perttu Ahola
8dd3622c6d
Improve item serialization
2011-11-29 19:13:48 +02:00
Perttu Ahola
564c3a9c96
Allow inputting nodename of MaterialItem in ItemSpec::checkItem
2011-11-29 19:13:48 +02:00
Perttu Ahola
f68fa667c8
Clean InventoryItem interface a bit
2011-11-29 19:13:47 +02:00
Perttu Ahola
7a29b14a20
Improved MaterialItem (stores nodename)
2011-11-29 19:13:47 +02:00
Perttu Ahola
6a417c538f
Remove burn time definitions from FurnaceNodeMetadata
2011-11-29 19:13:46 +02:00
Perttu Ahola
37a5f8a30b
Move cook result properly to ContentFeatures
2011-11-29 19:13:46 +02:00
Perttu Ahola
ba762bcd49
Clean mapnode.h and fix other files accordingly
2011-11-29 19:13:44 +02:00
Perttu Ahola
c6fd2986d4
GameDef compiles
2011-11-29 19:13:42 +02:00
Perttu Ahola
abceeee92f
Create framework for getting rid of global definitions of node/tool/item/whatever types
2011-11-29 19:13:41 +02:00
Perttu Ahola
5fc791ac9a
Move tool stuff to tool.{h,cpp}
2011-11-29 19:13:41 +02:00
Perttu Ahola
64996422c0
Move ContentFeatures to mapnode_contentfeatures.{h,cpp} and clean stuff
2011-11-29 19:13:40 +02:00
Perttu Ahola
1320d07068
Scripting WIP: dynamic object stuff
2011-11-29 19:13:40 +02:00
Perttu Ahola
75a0ca6bd6
Scripting WIP
2011-11-29 19:13:40 +02:00
Perttu Ahola
bfc68d3151
Scripting WIP
2011-11-29 19:13:38 +02:00
Perttu Ahola
5f39885975
Improve inventory debug output
2011-10-17 01:03:45 +03:00
Perttu Ahola
43a28f04fa
mobv2
2011-10-15 02:28:57 +03:00
Kahrl
02726f0003
Convert any inventory item into a mesh, bring back InventoryItem::getImageRay(), some const-correctness fixes
2011-09-19 06:37:24 +02:00
JacobF
c68ea19e8d
Now SAOs will reflect changes to their temporary inventory object
...
Also, the temp item wasn't being deleted, might have been a memory leak.
Now you will only eat 1 item off a stack
2011-09-06 16:36:11 +03:00
JacobF
6415528f96
If there was no source item in a furnace it would cause a segmentation fault.
2011-08-30 11:38:53 -04:00
JacobF
134e49cc8e
Merged 2 branches because they relied on each other.
...
This one contains these changes from main c55:
* Adds a function to check if there is room for a specific item
* Using that, you can now pick up rats if you have a full inventory and a not full rat stack
* Furnace would cook only 1 item if that item used the last available result slot, now it will continue
* Furnace will say it's overloaded
* Furnace won't wait until the next step to start on the next item
- This caused small fuels to cook slower than meant to
- Also caused furnaces to say they were out of fuel after finishing the last fuel item
2011-08-25 19:27:50 -04:00
Giuseppe Bilotta
88a9bae160
constify inventory item serialization
2011-08-11 15:22:36 +02:00
Giuseppe Bilotta
467b3cf4c1
Some inventory const-ification
2011-08-11 15:22:35 +02:00
Perttu Ahola
d6a9bec843
Added MaterialItem conversion from old content type namespace to new
2011-07-31 02:20:40 +03:00
Perttu Ahola
d62ae0e18b
Rats are now eatable. Also made their selection box move smoothly.
2011-07-30 18:51:15 +03:00
Perttu Ahola
90d793f8f3
extended content-type range
2011-07-23 16:55:26 +03:00
Perttu Ahola
91cfbe2891
reorganized a lot of stuff and modified mapgen and objects slightly while doing it
2011-06-26 15:48:56 +03:00
Perttu Ahola
748340fad5
fixed a segfault in case of wrong input from network on the server (reported by spongie)
2011-06-19 19:40:41 +03:00
Perttu Ahola
cced6aaf8d
separated inventory-related game content to content_inventory.{h,cpp}
2011-06-18 02:30:33 +03:00
Perttu Ahola
dc5319b6c9
Moved some mapnode content stuff from mapnode.{h,cpp} and digging property stuff from material.cpp to content_mapnode.{h,cpp}
2011-06-17 22:20:15 +03:00
Ciaran Gultnieks
2e1a69c3b1
Added glass, with rendering and furnace support.
2011-05-09 19:22:07 +01:00
Perttu Ahola
b36e5c0508
Removed IrrlichtWrapper
2011-04-22 09:54:05 +03:00
Perttu Ahola
3c61d57f6d
item drop multiplication fix
2011-04-19 17:09:45 +03:00
Perttu Ahola
249c0dc68a
Fixed some problems with crafting and inventory
2011-04-11 21:28:04 +03:00
Perttu Ahola
5a4d8ffad3
implemented rats in new system to verify that it works
2011-04-10 15:16:27 +03:00
Perttu Ahola
89aa8b9be1
Furnace is now usable. Added more tools.
...
--HG--
rename : data/tool_stpick.png => data/tool_stonepick.png
rename : data/tool_wpick.png => data/tool_woodpick.png
2011-04-05 18:23:30 +03:00
Perttu Ahola
d6d811f97b
A more robust format for node metadata
2011-04-05 10:59:48 +03:00
Perttu Ahola
d1d57cf5c3
initial workings of the furnace
2011-04-05 02:56:29 +03:00
Perttu Ahola
4a92df6ff0
Chests work now!
2011-04-04 15:13:19 +03:00
Perttu Ahola
1704badc30
work-in-progress texture atlas optimization
2011-02-10 02:13:03 +02:00
Perttu Ahola
44ce9018dd
added temporary backwards compatibility to player inventory
2011-02-03 15:45:53 +02:00
Perttu Ahola
a4179abb1b
Fixed MBOItem inventory images
2011-01-29 00:53:30 +02:00
Perttu Ahola
64b5975732
Now texture handling is fast. Also now players are saved on disk.
2011-01-28 01:38:16 +02:00
Perttu Ahola
6b6c2d37ea
Added a more flexible path system (and fixed some minor stuff)
2011-01-07 19:39:27 +02:00
Perttu Ahola
a26c92d7dd
disconnect method to connection to be used instead of just timing out
2010-12-24 17:08:50 +02:00
Perttu Ahola
f15670379d
base stuff for item->object conversion
2010-12-24 03:08:05 +02:00
Perttu Ahola
3de176cc58
crafting system!
2010-12-22 16:30:23 +02:00
Perttu Ahola
2e41a5e304
just savin'
2010-12-22 11:29:06 +02:00
Perttu Ahola
3f5bad938a
organizing stuff.
2010-12-21 18:08:24 +02:00
Perttu Ahola
123e8fdf53
framework for modifying textures
2010-12-20 22:03:49 +02:00
Perttu Ahola
fc26dcdb19
license stuff
...
--HG--
rename : src/licensecomment.txt => licensecomment.txt
2010-11-29 20:13:04 +02:00
Perttu Ahola
4e249fb3fb
Initial files
2010-11-27 01:02:21 +02:00