Re: [Game] Pixture
Posted: Tue Jul 19, 2016 15:49
Hmm, something like that might work, although there should be a way to completely disable/enable PvP in protected areas.
FOSS gamedev and creative worlds
https://forums.minetest.org/
kaadmy wrote:Hmm, something like that might work, although there should be a way to completely disable/enable PvP in protected areas.
kaadmy wrote:I'm not even sure if MT's mod API allows for location-specific PvP disabling per player, so if it's even implemented, it'll be messy.
if ((minetest.get_mapgen_params().seed+pos.x+pos.y+pos.z) % 30) == 1 then
... -- Generate a village.
else
... -- Delete the village spawn marker object.
end
if ((pos.x + pos.y + pos.z) % 30) == 1 then
... -- Generate a village.
else
... -- Delete the village spawn marker object.
end
kaadmy wrote:The nav:compass is correct last i checked, the needle should appear to point the closest direction towards the North.
2016-12-18 14:19:01: ERROR[Main]: ServerError: Lua: Runtime error from mod 'craftingguide' in callback on_playerReceiveFields(): ...8a7dc83\bin\..\games\pixture\mods\craftingguide\init.lua:26: attempt to index a nil value
2016-12-18 14:19:01: ERROR[Main]: stack traceback:
2016-12-18 14:19:01: ERROR[Main]: ...8a7dc83\bin\..\games\pixture\mods\craftingguide\init.lua:26: in function 'get_formspec'
2016-12-18 14:19:01: ERROR[Main]: ...8a7dc83\bin\..\games\pixture\mods\craftingguide\init.lua:132: in function <...8a7dc83\bin\..\games\pixture\mods\craftingguide\init.lua:88>
2016-12-18 14:19:01: ERROR[Main]: ...minetest-0.4.14_8a7dc83\bin\..\builtin\game\register.lua:412: in function <...minetest-0.4.14_8a7dc83\bin\..\builtin\game\register.lua:392>