people/actions/gather.lua

14 lines
395 B
Lua

people.actions.gather = function(state)
state.gather = {}
state.gather.nodes = state.action.nodes or {}
state.gather.topnodes = state.action.topnodes or {}
state.gather.items = state.action.items or {}
state.gather.plant = state.action.plant
state.gather.animal = state.action.animal
state.gather.animal_wield = state.action.animal_wield
return true, true
end