star_wars/mods/mobs_npc
thunderdog1138 b838c98437 Update 'mods/mobs_npc/villager.lua' 2020-11-28 00:33:26 +00:00
..
models Upload files to 'mods/mobs_npc/models' 2020-11-20 20:02:18 +00:00
textures Upload files to 'mods/mobs_npc/textures' 2020-11-20 19:50:11 +00:00
depends.txt Upload files to 'mods/mobs_npc' 2020-11-20 19:48:03 +00:00
description.txt Upload files to 'mods/mobs_npc' 2020-11-20 19:48:03 +00:00
init.lua Update 'mods/mobs_npc/init.lua' 2020-11-23 00:14:31 +00:00
intllib.lua Upload files to 'mods/mobs_npc' 2020-11-20 19:48:03 +00:00
license.txt Upload files to 'mods/mobs_npc' 2020-11-20 19:48:40 +00:00
lucky_block.lua Upload files to 'mods/mobs_npc' 2020-11-20 19:48:40 +00:00
mod.conf Upload files to 'mods/mobs_npc' 2020-11-20 19:48:40 +00:00
r2.lua Update 'mods/mobs_npc/r2.lua' 2020-11-21 21:05:34 +00:00
readme.md Upload files to 'mods/mobs_npc' 2020-11-20 19:48:40 +00:00
screenshot.png Upload files to 'mods/mobs_npc' 2020-11-20 19:49:06 +00:00
spawn_example.lua Upload files to 'mods/mobs_npc' 2020-11-20 19:49:06 +00:00
trader.lua Upload files to 'mods/mobs_npc' 2020-11-20 19:49:06 +00:00
villager.lua Update 'mods/mobs_npc/villager.lua' 2020-11-28 00:33:26 +00:00

readme.md

NPC MOBS

NPC

  • While NPC's don't actually spawn in the world just yet, they do have a spawn egg available to drop him/her into the world and wander around defending himself if attacked. It will also he will help you attack any monsters in the area and will follow you if you hold a diamond. Right-clicking the NPC with a gold lump will make him drop steel tools or food, right-clicking with an empty hand orders the NPC to stay or follow if owned.

Trader

  • Traders are new and still being tested but can be placed into the world using a spawn egg. Right-clicking on a trader opens his shop and allows you to buy his wares inside. If provoked a trader will attack a player or monster.

Note: self.npc_drops and self.igor_drops are used for random item list when trading for gold and may be changed within the mob itself, if not found the global mobs.npc_drops and mobs.igor_drops are used instead for a default list.

Lucky Blocks: 4