Actions: Added action to use a bed (from the default beds mod).

This commit is contained in:
zorman2000
2016-12-29 21:34:15 -05:00
parent 7f22a74d7d
commit 80b7eb6ec9
3 changed files with 82 additions and 18 deletions

View File

@ -51,7 +51,7 @@ function npc.places.add_owned(self, place_name, place_type, pos)
-- Set owned by NPC
meta:set_string("npc_owner", self.npc_id)
-- Add place to list
npc.places.add(self, place_name, place_type, pos)
npc.places.add_public(self, place_name, place_type, pos)
return true
end
return false