26 Commits

Author SHA1 Message Date
stujones11
8a359d62d7 Misc bugfixes and improvements 2015-07-29 20:42:45 +01:00
stujones11
971444ccdb Autoload and save bugfixes 2015-07-25 16:51:19 +01:00
stujones11
c7484cda2e Add aliases for backwards compatibilty 2015-07-17 19:14:04 +01:00
stujones11
a58faa6f9e Next generation rewrite 2015-07-12 21:12:53 +01:00
stujones11
6b87897230 Remove duplicate entity checking 2014-08-16 16:59:49 +01:00
stujones11
c9be0fb868 Prevent crash if NPC name is nil 2014-08-16 16:53:23 +01:00
Ciaran Gultnieks
b44926e824 Add a tell command 2014-03-26 18:21:13 +00:00
Ciaran Gultnieks
ff2da40fb4 Properly remove spawner when used or dug
Using minetest.dig_node causes various issues. An example is that when
area protection is in effect, it fails (even for your own area, because
minetest.dig_node doesn't allow a player to be specfied, it uses a null
one). So in the event of failure, a) after spawning, the spawner stays
there, and b) when you dig it, you get a copy in your inventory (because
the return value from dig_node was ignored) but it stays there so you
can dig infinite amounts of it.

Just using remove_node resolves all this.
2014-03-26 14:05:01 +00:00
stujones11
316a71f506 Fix formspec handling and trade npc bug 2013-12-06 20:09:44 +00:00
stujones11
b75306baed Fix npc_data directory creation on Windows 2013-10-22 20:11:25 +01:00
stujones11
702916430a Revert "Revert "Revert "Fix omission in previous commit"""
This reverts commit 6787bd7cce5923f7df527b9d99119196f09bccc0.
2013-10-22 20:05:52 +01:00
stujones11
6787bd7cce Revert "Revert "Fix omission in previous commit""
This reverts commit 58a8cec8b4269403cfe64fbbd8d4ed3f0a8e0866.
2013-10-22 20:04:01 +01:00
stujones11
58a8cec8b4 Revert "Fix omission in previous commit"
This reverts commit ea7cbcbf0a2affb2d3981af11bbd0a326562b426.
2013-10-22 20:00:57 +01:00
stujones11
ea7cbcbf0a Fix omission in previous commit 2013-10-20 20:43:49 +01:00
stujones11
33b86cdd17 Use platform specific path separator for os.execute 2013-10-20 20:23:38 +01:00
stujones11
5aacdc0b28 Fix load/save error logging 2013-10-20 16:48:42 +01:00
stujones11
0a05f8c08d Add facedir to NPC placement and update chatcommands 2013-10-08 20:17:06 +01:00
stujones11
f4dfba13b4 Add spawn function and improve chatcommand feedback 2013-10-08 19:13:17 +01:00
stujones11
f4428b9d1f Move chatcommands to a separate file 2013-10-07 19:34:36 +01:00
stujones11
9d1d14b072 Restore custom NPC skin after reload 2013-10-06 19:42:00 +01:00
stujones11
f0cb3e09f7 Improve NPC saving and loading commands 2013-10-06 16:50:20 +01:00
stujones11
3dd71dafd8 Move npc_data directory to worldpath 2013-10-04 20:52:36 +01:00
stujones11
2bdfa6296e Remove some redundant code 2013-09-30 21:29:00 +01:00
stujones11
0d1fad8866 Protect aginst use of /spawnentity 2013-09-29 20:37:11 +01:00
stujones11
454572299f Add npc_data directory and error logging bugfix 2013-09-29 16:56:20 +01:00
stujones11
8871dd1285 Initial commit 2013-09-28 17:11:46 +01:00