Major addition: Global Travelpoints.
This update does not break old travelpoint collections or pads.
Let me know if you find any issues.
--Racso
- This version adds global travelpoints as requested by dgm5555.
- This version does not break existing travelpoint collections. ABM will automatically update existing transporter pads for formspec changes.
- init.lua - Added privilege "tpglobal".
- functions.lua/travelpoints.get_travelpoints_table() [list]
- Added parameter "mode".
- Added condition for opening either user's table or the global table.
[*]functions.lua/travelpoints.save_travelpoints_table()[/*]
- Added parameter "mode".
- Added condition for opening either user's table or the global table.
[*]init.lua - Added chat command "tpgset".[/*]
[*]functions.lua/travelpoints.get_travelpoints_array()[/*]
- Added parameter "mode".
- Added condition for opening either user's table or the global table.
[*]init.lua - Added chat command "tpggo".[/*]
[*]init.lua - Added chat command "tpgdrop".[/*]
[*]functions.lua/travelpoints.get_formspec()[/*]
- Added parameter "mode".
- Renamed button "List Travelpoints" to "My Travelpoints".
- Added button "Global Travelpoints".
- Removed button "Save" (Saves automatically with each modification.)
- Added button "Exit".
- Moved timestamp and modstamp text.
- Added text for mod version.
[*]functions.lua/travelpoints.on_destruct() Added[/*]
[*]functions.lua/travelpoints.after_place_node() Added[/*]
[*][/*]functions.lua/travelpoints.on_receive_fields() Added[/*]
[*]functions.lua/travelpoints.can_dig() Added[/*]
[*]nodes.lua[/*]
- Transporter_pad definition now uses shared call backs.
- Transporter_pad_active definition now uses shared call backs.
[*]functions.lua/travelpoints.get_infotext() - Removed "Placed by " text, now just shows pad owner's name in parentheses.[/*]
[*]Added version and source meta tags to pad nodes.[/*]
[*]nodes.lua - ABM now updates old pads for changes in meta data.[/*]
[*]functions.lua/travelpoints.set_pad_destination() Added[/*]
[*]functions.lua/travelpoints.get_travelpoints_array() no longer prepends 'none' to the travelpoints array.[/*]
[*]Removed all "- 1" math that compensated for the extra index in the travelpoints array.[/*]
[*]init.lua - Chat command "/travelpoints", fixed display for those with server privilege.[/*]
[*]readme.txt[/*]
- Rewrote "About Travelpoints" section.
- Added chat commands "/tpgset", "/tpggo" and "/tpgdrop".
- Fixed minor errors.