Mod that actually adds NPC to yl_speak_up.
Go to file
Sokomine 584236de8d added config and crafting options 2024-04-08 18:37:24 +02:00
LICENSE license changed from GPLv3.0 or later to MIT 2024-04-05 16:55:43 +02:00
add_skins_and_capes.lua avoid reading from wold dir 2024-03-24 02:47:08 +01:00
example_npc.lua set node_damage = 0 for mobs_redo 2024-01-26 21:42:36 +01:00
example_talk_sign.lua pass owner on for talk_sign so that it works properly 2024-01-25 19:19:02 +01:00
init.lua added config and crafting options 2024-04-08 18:37:24 +02:00
mod.conf license changed from GPLv3.0 or later to MIT 2024-04-05 16:55:43 +02:00
readme.md license changed from GPLv3.0 or later to MIT 2024-04-05 16:55:43 +02:00
settingtypes.txt added config and crafting options 2024-04-08 18:37:24 +02:00
talk_to_animals.lua moved talk_tool craft receipe into talk_tool.lua 2024-04-08 18:21:07 +02:00
talk_to_mobs_npc.lua made usable for mobs_npc and mobs_animals 2023-09-04 02:36:33 +02:00
talk_tool.lua moved talk_tool craft receipe into talk_tool.lua 2024-04-08 18:21:07 +02:00
talking_npc.lua moved default texture and mesh to init.lua 2024-04-08 18:24:45 +02:00

readme.md

Add actual NPC to yl_speak_up

Autor: Sokomine

License: MIT

Requires: yl_speak_up

Recommends:

Remember that you need the npc_talk_owner priv in order to configure your NPC!

This mod adds actual NPC to the game. They can be talked to on rightclick.

Table of Content

  1. Basic talking NPC (no other mods required)
  2. Talking to blocks (no other mods required)
  3. Example NPC (requires mobs_redo)
  4. Talk to existing NPC (requires mobs_npc)
  5. Talk to animals (requires mobs_animal)
  6. More information

1. Basic talking NPC (no other mods required)

This basic NPC is available even if you install no other mods.

The model - character.b3d - is part of minetest_game. You can either get it from there (you will likely have it already) or change the entry in talking_npc.lua to the model your game uses. You will also need a texture called character.png.

There is no spawning implemented. Type /giveme npc_talk:talking_npc to get one.

Features:

  • These NPC can be talked to on right-click.
  • They look at the player when right-clicked.
  • They can be picked up through a menu entry in their talk menu.
  • The picked up NPC can be placed again.
  • Add more textures to the table yl_speak_up.mob_skins["npc_talk:talking_npc"] in order to have more diffrent textures.

2. Talking to blocks (no other mods required)

With a mese block and a wooden sign, you can craft a special sign which you can place and that will act like an NPC.

This feature is highly experimental.

The position of the sign acts as ID.

3. Example NPC (requires mobs_redo)

This is very close to the NPC used on the Your Land server. They're basicly mobs_redo based NPC. You also need to install the skinsdb mod so that a mesh and textures are available. Technicly, skinsdb isn't really necessary - but a mesh and textures are. They have to come from somewhere.

There is no spawning implemented. Type /giveme npc_talk:npc to get one.

Features:

  • These NPC can be talked to on right-click.
  • They turn around randomly (mobs_redo handles that).
  • They can be picked up with a lasso.
  • The picked up NPC show up as eggs in your inventory and can be placed again.
  • You can add more textures by creating a folder named textures in the folder of this mod and adding skins (MineCraft compatible) to that folder. The filenames have to start with npc_talk_main_. Capes are also supported.

4. Talk to existing NPC (requires mobs_npc)

These mobs come from a mod that already adds some NPC. They spawn in the world, can be tamed with bread, and you can even breed them. Said mod is called mobs_npc.

Just right-click them to talk to and use all other features as you're used to from that mod.

5. Talk to animals (requires mobs_animal)

This is more for fun. You can craft a special talk tool by combining a lasso and shears together. Punch animals (only white sheep, red sheep and cows are supported) with that tool in order to be able to talk to them.

So far, neither the sheep nor the cows had much to tell me. But perhaps you'll be more lucky!

The reason why you need the talk tool here and can't just right-click them is because these mobs have special functions on rightclick (feeding etc.) and no interface to add new functionality there. This method - using such a tool - shows how you can deal with such situations. You might of course also edit the sheeps and cows and/or talk to TenPlus1 to get that integrated. But animals seldom have much to say, so it's probably not of much interest to most players.

6. More information

As you can see, this mod is mostly a demonstration of what you can do. Plus it does provide some usable NPC. Please select what you like and customize them!

NPC really love talking.

If you have questions, feel free to contact me on the forum or on IRC.

Sokomine