1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-12-24 17:50:37 +01:00

Many updates...

- Update « Multitest » to version 2
- Update world.mt (re-organise, add forceload and add
trmp_minetest_game)
- Remove playerplus (nether use, and cactus has been added to the loop
of the sprint mod)
This commit is contained in:
Ombridride 2015-03-14 23:18:06 +01:00
parent 036d2fd3b9
commit 5817264a58
10 changed files with 636 additions and 699 deletions

View File

@ -1,8 +0,0 @@
PlayerPlus mod for minetest
---------------------------
This mod lets the player walk faster when walking on ice, also walking on snow slows them down and touching a cactus will hurt... enjoy
0.1 - Initial release
Released under WTFPL

View File

@ -1 +0,0 @@
default

View File

@ -1,60 +0,0 @@
-- walking on ice makes player walk faster, also cactus hurts player when touched
-- by TenPlus1
local time = 0
minetest.register_globalstep(function(dtime)
time = time + dtime
-- every 1 second
if time > 1 then
-- check players
for _,player in ipairs(minetest.get_connected_players()) do
-- is it me?
if player:is_player() then
-- where am I?
local pos = player:getpos()
-- what am I standing on?
pos.y = pos.y - 0.1 -- just under player to detect snow also
local nod = minetest.get_node(pos).name
-- standing on ice? if so walk faster
if nod == "default:ice" then
player:set_physics_override(1.3, 1, 1)
-- standing on snow? if so walk slower
elseif nod == "default:snow" or nod == "default:snowblock" then
player:set_physics_override(0.7, 1, 1)
else
player:set_physics_override(1, 1, 1) -- (default speed, jump, gravity)
end
-- am I near a cactus?
pos.y = pos.y + 0.1
local near = minetest.find_node_near(pos, 1, "default:cactus")
if near then
pos = near
-- am I touching the cactus? if so it hurts
for _,object in ipairs(minetest.get_objects_inside_radius(pos, 1.0)) do
if object:get_hp() > 0 then
object:set_hp(object:get_hp()-1)
end
end
end
-- reset time and break entity check
time = 0
break
end
end
-- incase none of the above happened, reset time for next check
time = 0
end
end)

View File

@ -4,23 +4,22 @@ redis_hash = IGNORED
redis_address = localhost
load_mod_moreores = true
load_mod_darkage = true
load_mod_quartz = true
load_mod_moreblocks = true
load_mod_unifieddyes = true
load_mod_homedecor = true
load_mod_coloredwood = true
load_mod_colouredstonebricks = true
load_mod_colormachine = true
load_mod_bedrock = true
load_mod_soundset = true
load_mod_ambience = true
load_mod_worldedit = true
load_mod_worldedit_commands = true
load_mod_worldedit_gui = true
load_mod_worldedit_infinity = true
load_mod_worldedit_limited = true
load_mod_worldedit_shortcommands = true
load_mod_building_blocks = true
load_mod_computer = true
load_mod_fake_fire = true
load_mod_homedecor_3d_extras = true
load_mod_inbox = true
load_mod_itemframes = true
load_mod_lrfurn = true
load_mod_plasmascreen = true
load_mod_signs_lib = true
load_mod_bushes_classic = true
load_mod_flowers_plus = true
load_mod_junglegrass = true
@ -29,31 +28,57 @@ load_mod_plants_lib = true
load_mod_poisonivy = true
load_mod_vines = true
load_mod_moretrees = true
load_mod_along_shore = true
load_mod_bushes = true
load_mod_cavestuff = true
load_mod_dryplants = true
load_mod_ferns = true
load_mod_molehills = true
load_mod_trunks = true
load_mod_woodsoils = true
load_mod_youngtrees = true
load_mod_columnia = true
load_mod_clams = true
load_mod_stairsshine = true
load_mod_whiteshell = true
load_mod_mushroom = true
load_mod_nether = true
load_mod_vector_extras = true
load_mod_glow = true
load_mod_riesenpilz = true
load_mod_mapfix = true
load_mod_seacobble = true
load_mod_seacoral = true
load_mod_seaglass = true
load_mod_seagravel = true
load_mod_sealamps = true
load_mod_seaplants = true
load_mod_seastone = true
load_mod_seastonebrick = true
load_mod_seawrecks = true
load_mod_noairblocks = true
load_mod_snow = true
load_mod_christmas_craft = true
load_mod_homedecor = true
load_mod_computer = true
load_mod_fake_fire = true
load_mod_homedecor_3d_extras = true
load_mod_itemframes = true
load_mod_lrfurn = true
load_mod_plasmascreen = true
load_mod_arrow_signs = true
load_mod_chains = true
load_mod_signs_lib = true
load_mod_locked_sign = true
load_mod_fences = true
load_mod_stained_glass = true
load_mod_framedglass = true
load_mod_paintings = true
load_mod_multitest = true
load_mod_lavalamp = true
load_mod_lantern = true
load_mod_money = true
load_mod_beds = true
load_mod_throwing = true
load_mod_3d_armor = true
load_mod_shields = true
load_mod_wieldview = true
load_mod_worldedit = true
load_mod_worldedit_commands = true
load_mod_worldedit_gui = true
load_mod_worldedit_infinity = true
load_mod_worldedit_limited = true
load_mod_worldedit_shortcommands = true
load_mod_maptools = true
load_mod_awards = true
load_mod_fail = true
load_mod_bedrock = true
load_mod_builtin_item = true
load_mod_chatplus = true
load_mod_gauges = true
load_mod_item_drop = true
load_mod_jumping = true
load_mod_mesecons = true
@ -88,82 +113,52 @@ load_mod_mesecons_noteblock = true
load_mod_bobblocks = true
load_mod_pipeworks = true
load_mod_names_per_ip = true
load_mod_paintings = true
load_mod_snow = true
load_mod_along_shore = true
load_mod_bushes = true
load_mod_cavestuff = true
load_mod_dryplants = true
load_mod_ferns = true
load_mod_molehills = true
load_mod_trunks = true
load_mod_woodsoils = true
load_mod_youngtrees = true
load_mod_columnia = true
load_mod_clams = true
load_mod_stairsshine = true
load_mod_whiteshell = true
load_mod_mushroom = true
load_mod_factions = true
load_mod_arrow_signs = true
load_mod_death_messages = true
load_mod_colouredstonebricks = true
load_mod_chains = true
load_mod_wiki = true
load_mod_intweak = true
load_mod_notice = true
load_mod_multitest = true
load_mod_framedglass = true
load_mod_darkage = true
load_mod_colormachine = true
load_mod_quartz = true
load_mod_screwdriver = true
load_mod_bone = true
load_mod_carts = true
load_mod_dropondie = true
load_mod_sponge = true
load_mod_mobs = true
load_mod_tsm_pyramids = true
load_mod_trmp_minetest_game = true
load_mod_lavatemple = true
load_mod_christmas_craft = true
load_mod_noairblocks = true
load_mod_seacobble = true
load_mod_seacoral = true
load_mod_seaglass = true
load_mod_seagravel = true
load_mod_sealamps = true
load_mod_seaplants = true
load_mod_seastone = true
load_mod_seastonebrick = true
load_mod_seawrecks = true
load_mod_beginners_chest = true
load_mod_forceload = true
load_mod_more_chests = true
load_mod_chesttools = true
load_mod_nether = true
load_mod_vector_extras = true
load_mod_glow = true
load_mod_riesenpilz = true
load_mod_mapfix = true
load_mod_unified_inventory = true
load_mod_u_skins = true
load_mod_farming = true
load_mod_food = true
load_mod_fishing = true
load_mod_hud = true
load_mod_gauges = true
load_mod_sprint = true
load_mod_mana = true
load_mod_awards = true
load_mod_fail = true
load_mod_unified_inventory = true
load_mod_u_skins = true
load_mod_dropondie = true
load_mod_item_drop = true
load_mod_throwing = true
load_mod_3d_armor = true
load_mod_shields = true
load_mod_wieldview = true
load_mod_returnmirror = true
load_mod_playerplus = false
load_mod_xban2 = true
load_mod_names_per_ip = true
load_mod_inventorycheck = true
load_mod_maptools = true
load_mod_notice = true
load_mod_name_restrictions = true
load_mod_whoison = true
load_mod_player_inactive = true
@ -171,15 +166,26 @@ load_mod_spawn = true
load_mod__misc = true
load_mod_news = true
load_mod_random_messages = true
load_mod_death_messages = true
load_mod_shutdown = true
load_mod_irc = true
load_mod_irc_commands = true
load_mod_soundset = true
load_mod_ambience = true
load_mod_areas = true
load_mod_markers = true
load_mod_builtin_falling = true
load_mod_building_blocks = true
load_mod_inbox = true
load_mod_money = true
load_mod_beds = true
load_mod_builtin_item = true
load_mod_chatplus = true
load_mod_future_ban = false
load_mod_builtin_falling = false
load_mod_textures = false
load_mod_minetest-minetestforfun-server-master = false
load_mod_mesecons_doors = false