[Mod] Stationary NPCs [stationary_npc] [1]
This mod adds very peaceful NPCs which do not move around with configurability.
I based it off jojoa1997's peaceful_npc mod and did some optimizations the original mod could use in regards to global variables and the very busy on_step() function.
The idea here is to enable a lot of NPCs without killing the server.
Anyway the idea is to have NPCs standing/sitting/lying/waving/walking in place around villages, hanging in cages etc. etc.
First the summoner is built, and the NPC placed.
Textures can be changed by sneaking and punching the NPC.
Stances can be changed by sneaking and right clicking the NPC.
The NPC is removed by punching it to death (it has 10HP)
Players need the "stationarynpc" priviledge.
Like the peaceful_npc mod the NPCs will turn towards the player if it is close. Sitting and laying NPCs will stay put of course.
Try it here and tell me if this is useful/what enhancements could be interesting:
http://ompldr.org/vaHk1ZA/stationary_npc.zip
Requires 0.44 server (developed on 0.45 daily-build)
BR/kpo
I based it off jojoa1997's peaceful_npc mod and did some optimizations the original mod could use in regards to global variables and the very busy on_step() function.
The idea here is to enable a lot of NPCs without killing the server.
Anyway the idea is to have NPCs standing/sitting/lying/waving/walking in place around villages, hanging in cages etc. etc.
First the summoner is built, and the NPC placed.
Textures can be changed by sneaking and punching the NPC.
Stances can be changed by sneaking and right clicking the NPC.
The NPC is removed by punching it to death (it has 10HP)
Players need the "stationarynpc" priviledge.
Like the peaceful_npc mod the NPCs will turn towards the player if it is close. Sitting and laying NPCs will stay put of course.
Try it here and tell me if this is useful/what enhancements could be interesting:
http://ompldr.org/vaHk1ZA/stationary_npc.zip
Requires 0.44 server (developed on 0.45 daily-build)
BR/kpo