-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MetaDataRef not fully functional #2
Comments
NodeMetaRef and InvRef added, also few more methods implemented. |
PR #14 implements many missing features but still not complete. |
|
To verify {
fields = {
tube_time = "0",
formspec = "size[8,9;]list[context;src;3,1;1,1;]label[0,0;MV Tool Workshop]list[context;upgrade1;1,3;1,1;]list[context;upgrade2;2,3;1,1;]label[1,4;Upgrade Slots]list[current_player;main;0,5;8,4;]listring[current_player;main]listring[context;src]listring[current_player;main]listring[context;upgrade1]listring[current_player;main]listring[context;upgrade2]listring[current_player;main]",
infotext = "MV Tool Workshop Idle",
MV_EU_demand = "0",
MV_EU_input = "0"
},
inventory = {
upgrade2 = {
ItemStack("")
},
upgrade1 = {
ItemStack("")
},
src = {
ItemStack("technic:lava_can")
}
}
} I think it is correct already but there might still be |
Removing InvList type completely, even for internal use. Some tests should be also added for verified correct behavior. |
Implement rest of MetaDataRef:
https://github.com/mt-mods/mineunit/blob/master/metadata.lua
Basically simply just replace
error("NOT IMPLEMENTED")
with correctly arranged stream of bytes that will make it do something similar what comments above function signature says.edit. well no comments at all in that file... sorry about that but here's what should fix it: https://minetest.gitlab.io/minetest/class-reference/#metadataref
The text was updated successfully, but these errors were encountered: