Actions: added experimental, still WIP path-finding code in Lua
This commit is contained in:
@ -27,6 +27,7 @@ npc.trade.prices.table["default:stone"] = {tier = npc.trade.prices.curre
|
||||
npc.trade.prices.table["farming:seed_cotton"] = {tier = npc.trade.prices.currency.tier3, count = 3}
|
||||
npc.trade.prices.table["farming:seed_wheat"] = {tier = npc.trade.prices.currency.tier3, count = 3}
|
||||
npc.trade.prices.table["default:clay_lump"] = {tier = npc.trade.prices.currency.tier3, count = 3}
|
||||
npc.trade.prices.table["default:wood"] = {tier = npc.trade.prices.currency.tier3, count = 3}
|
||||
npc.trade.prices.table["mobs:meat_raw"] = {tier = npc.trade.prices.currency.tier3, count = 4}
|
||||
npc.trade.prices.table["default:sapling"] = {tier = npc.trade.prices.currency.tier3, count = 5}
|
||||
npc.trade.prices.table["mobs:meat"] = {tier = npc.trade.prices.currency.tier3, count = 5}
|
||||
|
@ -18,11 +18,11 @@ npc.trade.results = {
|
||||
-- Casual trader NPC dialogues definition
|
||||
-- Casual buyer
|
||||
npc.trade.CASUAL_TRADE_BUY_DIALOGUE = {
|
||||
text = "I'm looking to buy some items, are you interested?",
|
||||
text = "I'm looking to buy some items, are you interested?",
|
||||
casual_trade_type = npc.trade.OFFER_BUY,
|
||||
responses = {
|
||||
[1] = {
|
||||
text = "Yes, let's see what are you looking for",
|
||||
text = "Yes, let's see what you are looking for",
|
||||
action_type = "function",
|
||||
response_id = 1,
|
||||
action = function(self, player)
|
||||
|
Reference in New Issue
Block a user