Trade: Fully working buy and sell offers.

Improvements to prices and price-related mechanisms.
NPC: Improved get_item_name and get_item_count methods.
This commit is contained in:
zorman2000
2016-12-17 12:01:35 -05:00
parent 72ab610cd8
commit c15e8232d5
4 changed files with 167 additions and 36 deletions

View File

@@ -107,8 +107,6 @@ function npc.dialogue.select_random_dialogues_for_npc(sex, phase, favorite_items
if value.action_type == "function" then
result.normal[i].responses[key].dialogue_id = dialogue_id
result.normal[i].responses[key].response_id = key
minetest.log("Storing dialogue and response id: "
..dump(result.normal[i].responses[key]))
end
end