mr:innkeeper_npc
Differences
This shows you the differences between two versions of the page.
| mr:innkeeper_npc [2026/02/18 17:33] – Wiki maintenance: Fix 5 random pages for standards compliance Qwen Assistant | mr:innkeeper_npc [2026/02/18 17:33] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== InnKeeperNPC - Code References ====== | ||
| + | |||
| + | ==== Java Classes ==== | ||
| + | This entity is not implemented in Java. It uses Lua scripting instead. | ||
| + | |||
| + | ==== JSON Configuration ==== | ||
| + | <code json> | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | </ | ||
| + | * Found in: RemixedDungeon/ | ||
| + | |||
| + | ==== Sprite Configuration ==== | ||
| + | <code json> | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | </ | ||
| + | * Found in: RemixedDungeon/ | ||
| + | |||
| + | ==== String Resources ==== | ||
| + | <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | * Source: RemixedDungeon/ | ||
| + | * Also available in multiple languages in corresponding values-* directories | ||
| + | |||
| + | ==== Lua Scripts ==== | ||
| + | * [[https:// | ||
| + | * Script implements: | ||
| + | * spawn() - Initializes NPC with trade items (FriedFish, ChargrilledMeat, | ||
| + | * interact() - Opens trade window between NPC and player | ||
| + | * priceForSell() - Sets sell price multiplier (10x item base price) | ||
| + | * sellMode() - Uses CARCASS backpack mode for selling | ||
| + | * buyMode() - Uses FOR_BUY backpack mode for purchasing | ||
| + | |||
| + | ==== Level Placement ==== | ||
| + | * Found in: RemixedDungeon/ | ||
| + | * Found in: RemixedDungeon/ | ||
| + | |||
| + | ==== Related mr Entities ==== | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
| + | |||
| + | {{tag> mr npc innkeeper innkeepernpc town trader}} | ||
