Actions: Added some fundamental movement actions.
Places: Added functions for adding and getting places, and for finding places of specific types. Added beds, chairs and chest as places. NPC: Added places map and action queue.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
-- NPC trading abilities by Zorman2000
|
||||
-- Trading code for Advanced NPC by Zorman2000
|
||||
|
||||
npc.trade = {}
|
||||
|
||||
@ -125,8 +125,6 @@ end
|
||||
|
||||
-- This function will return an offer object, based
|
||||
-- on the items the NPC has.
|
||||
-- Criteria: The NPC will offer to sell its items
|
||||
-- if it doesn't has any currency.
|
||||
function npc.trade.get_casual_trade_offer(self, offer_type)
|
||||
local result = {}
|
||||
-- Check offer type
|
||||
|
Reference in New Issue
Block a user