|
|
@@ -1,22 +1,26 @@ |
|
|
|
|
|
|
|
travelnet.MAX_STATIONS_PER_NETWORK = 24; |
|
|
|
-- maximum travelnet stations per network |
|
|
|
travelnet.MAX_STATIONS_PER_NETWORK = tonumber(minetest.settings:get("travelnet.MAX_STATIONS_PER_NETWORK")) or 24; |
|
|
|
|
|
|
|
-- set this to true if you want a simulated beam effect |
|
|
|
travelnet.travelnet_effect_enabled = false; |
|
|
|
travelnet.travelnet_effect_enabled = minetest.settings:get_bool("travelnet.travelnet_effect_enabled") or false; |
|
|
|
|
|
|
|
-- set this to true if you want a sound to be played when the travelnet is used |
|
|
|
travelnet.travelnet_sound_enabled = false; |
|
|
|
travelnet.travelnet_sound_enabled = minetest.settings:get_bool("travelnet.travelnet_sound_enabled") or true; |
|
|
|
|
|
|
|
-- if you set this to false, travelnets cannot be created |
|
|
|
-- (this may be useful if you want nothing but the elevators on your server) |
|
|
|
travelnet.travelnet_enabled = true; |
|
|
|
travelnet.travelnet_enabled = minetest.settings:get_bool("travelnet.travelnet_enabled") or true; |
|
|
|
|
|
|
|
-- if you set travelnet.elevator_enabled to false, you will not be able to |
|
|
|
-- craft, place or use elevators |
|
|
|
travelnet.elevator_enabled = true; |
|
|
|
travelnet.elevator_enabled = minetest.settings:get_bool("travelnet.elevator_enabled") or true; |
|
|
|
|
|
|
|
-- if you set this to false, doors will be disabled |
|
|
|
travelnet.doors_enabled = true; |
|
|
|
travelnet.doors_enabled = minetest.settings:get_bool("travelnet.doors_enabled") or true; |
|
|
|
|
|
|
|
-- starts an abm which re-adds travelnet stations to networks in case the savefile got lost |
|
|
|
travelnet.abm_enabled = false; |
|
|
|
travelnet.abm_enabled = minetest.settings:get_bool("travelnet.abm_enabled") or false; |
|
|
|
|
|
|
|
-- change these if you want other receipes for travelnet or elevator |
|
|
|
travelnet.travelnet_recipe = { |
|
@@ -120,4 +124,3 @@ travelnet.allow_travel = function( player_name, owner_name, network_name, statio |
|
|
|
return true; |
|
|
|
end |
|
|
|
|
|
|
|
travelnet.travelnet_sound_enabled = true |
0 comments on commit
6108533