MTSM/mods/mobs_npc
Pentium44 d0e70f6605 Initial release... 2021-02-01 20:41:40 -08:00
..
locale Initial release... 2021-02-01 20:41:40 -08:00
models Initial release... 2021-02-01 20:41:40 -08:00
textures Initial release... 2021-02-01 20:41:40 -08:00
depends.txt Initial release... 2021-02-01 20:41:40 -08:00
description.txt Initial release... 2021-02-01 20:41:40 -08:00
igor.lua Initial release... 2021-02-01 20:41:40 -08:00
init.lua Initial release... 2021-02-01 20:41:40 -08:00
intllib.lua Initial release... 2021-02-01 20:41:40 -08:00
license.txt Initial release... 2021-02-01 20:41:40 -08:00
lucky_block.lua Initial release... 2021-02-01 20:41:40 -08:00
mod.conf Initial release... 2021-02-01 20:41:40 -08:00
npc.lua Initial release... 2021-02-01 20:41:40 -08:00
readme.md Initial release... 2021-02-01 20:41:40 -08:00
screenshot.png Initial release... 2021-02-01 20:41:40 -08:00
spawn_example.lua Initial release... 2021-02-01 20:41:40 -08:00
trader.lua Initial release... 2021-02-01 20:41:40 -08: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