README: Add the settings for server owners, minor edits.

Drop 0.4.12 compatibility
This commit is contained in:
SmallJoker 2017-08-13 10:58:04 +02:00
parent 11a1ebad74
commit e8119a63cd
2 changed files with 20 additions and 10 deletions

View File

@ -1,8 +1,8 @@
Minetest mod: boost_cart Minetest mod: boost_cart
========================== ==========================
Based on (and fully compatible with) the mod "carts" by PilzAdam Based on (and fully compatible with) the mod "carts" by PilzAdam
Also compatible with the carts mod in the subgame "minetest_game". and the one contained in the subgame "minetest_game".
Target: Run smoothly as possible even on laggy server Target: Run smoothly as possible, even on laggy servers.
Features Features
@ -12,8 +12,25 @@ Target: Run smoothly as possible even on laggy server
- Boost and brake rails - Boost and brake rails
- By mesecons controlled Start-Stop rails - By mesecons controlled Start-Stop rails
- Detector rails that send a mesecons signal when the cart drives over them - Detector rails that send a mesecons signal when the cart drives over them
- Rail junction switching with the 'right-left' walking keys - Rail junction switching with the 'right/left' walking keys
- Handbrake with the 'back' key - Handbrake with the 'back' key
- Support for non-minetest_game subgames
Settings
----------
This mod can be adjusted to fit the conditions of a player or server.
Use the Advanced Settings dialog in the main menu or tune your
minetest.conf file manually:
boost_cart.speed_max = 10
^ Possible values: 1 ... 100
^ Maximal speed of the cart in m/s
boost_cart.punch_speed_max = 7
^ Possible values: -1 ... 100
^ Maximal speed to which the driving player can accelerate the cart
by punching from inside the cart. -1 will disable this feature.
License for everything License for everything

View File

@ -16,13 +16,6 @@ boost_cart.speed_max = tonumber(setting_getter("boost_cart.speed_max")) or 10
-- Set to -1 to disable punching the cart from inside -- Set to -1 to disable punching the cart from inside
boost_cart.punch_speed_max = tonumber(setting_getter("boost_cart.punch_speed_max")) or 7 boost_cart.punch_speed_max = tonumber(setting_getter("boost_cart.punch_speed_max")) or 7
if not boost_cart.modpath then
-- For Minetest 0.4.12 and older that don't look at the "mod.conf" file
error("\nWrong mod directory name! Please change it to 'boost_cart'.\n" ..
"See also: http://dev.minetest.net/Installing_Mods")
end
-- Support for non-default games -- Support for non-default games
if not default.player_attached then if not default.player_attached then
default.player_attached = {} default.player_attached = {}