summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2015-09-25 03:27:57 +0200
committerest31 <MTest31@outlook.com>2015-09-25 03:27:57 +0200
commitbb4a1756ff0cb9ab5b5b6adcd111229cd5f228f2 (patch)
treed04be552a94e75d33edb264d560bd636df1c415b
parent4eeb6950c45dea9b35e3485c194ac31280befe66 (diff)
downloadpipeworks-bb4a1756ff0cb9ab5b5b6adcd111229cd5f228f2.tar
pipeworks-bb4a1756ff0cb9ab5b5b6adcd111229cd5f228f2.tar.gz
pipeworks-bb4a1756ff0cb9ab5b5b6adcd111229cd5f228f2.tar.bz2
pipeworks-bb4a1756ff0cb9ab5b5b6adcd111229cd5f228f2.tar.xz
pipeworks-bb4a1756ff0cb9ab5b5b6adcd111229cd5f228f2.zip
"Implement" two further functions for fake player
Implement two functions for fake player used by the hunger mod. Also, add a list of functions to be implemented for an overview.
-rw-r--r--wielder.lua33
1 files changed, 33 insertions, 0 deletions
diff --git a/wielder.lua b/wielder.lua
index f4bdcfe..098f3cd 100644
--- a/wielder.lua
+++ b/wielder.lua
@@ -104,6 +104,39 @@ local function wielder_on(data, wielder_pos, wielder_node)
set_attach = delay(),
set_detach = delay(),
set_bone_position = delay(),
+ hud_channge = delay(),
+ get_breath = delay(11),
+ -- TODO "implement" all these
+ -- set_armor_groups
+ -- get_armor_groups
+ -- get_animation
+ -- get_attach
+ -- get_bone_position
+ -- get_properties
+ -- get_player_velocity
+ -- set_look_pitch
+ -- set_look_yaw
+ -- set_breath
+ -- set_physics_override
+ -- get_physics_override
+ -- hud_add
+ -- hud_remove
+ -- hud_change
+ -- hud_get
+ -- hud_set_flags
+ -- hud_get_flags
+ -- hud_set_hotbar_itemcount
+ -- hud_get_hotbar_itemcount
+ -- hud_set_hotbar_image
+ -- hud_get_hotbar_image
+ -- hud_set_hotbar_selected_image
+ -- hud_get_hotbar_selected_image
+ -- hud_replace_builtin
+ -- set_sky
+ -- get_sky
+ -- override_day_night_ratio
+ -- get_day_night_ratio
+ -- set_local_animation
}
local pointed_thing = { type="node", under=under_pos, above=above_pos }
data.act(virtplayer, pointed_thing)