Mod details are organised by [Factorio Version,Mod Name,Mod Version].
0.9.X MoBeans OutDated
0.12.x MoFarms 0.1.01
0.12.x MoSurvival 0.0.28
Moderator: ludsoe
Code: Select all
if remote.interfaces.MoSurvival then
remote.call("MoSurvival", "RegisterFoodItem", "item-name, hunger-value)
end
MaxHunger = remote.call("MoSurvival", "GetMaxHunger")
PlayerHunger = remote.call("MoSurvival", "GetHungerofPlayer",player-index)
remote.call("MoSurvival", "SetHungerofPlayer", player-index, hunger-points)