aboutsummaryrefslogtreecommitdiff
path: root/advtrains_train_track
Commit message (Collapse)AuthorAge
* Turn loading tracks into loading ramps when within the loaded areaMaverick27972023-06-24
| | | | | | | - Partially addresses Hemiptera #165 / Notabug #6 - Will recalculate wagon textures when the inventory is modified - Only acts as a loading ramp when in a loaded area. - Retains previous flood loading of entire train when area unloaded
* Make selection boxes of track nodes largerBlockhead2023-04-12
| | | | | | | This reduces the difficulty of having to point at the centre of the correct track node, and hopefully does not prevent placing tracks in more than a couple of cases. Three-way turnouts on an angle may be an exception but they may be worth it. User feedback is needed.
* Load/Unload Track FC IntegrationMaverick27972021-12-29
| | | | | | | | - Set a freight code in the track to whitelist only wagons with that FC as the current one - Set as # to disable the track - Set as a blank field (default) to allow all wagons to activate, irrespective of their FC
* Add check for box inventoryGabriel Pérez-Cerezo2021-04-11
| | | | | this fixes a crash when the new technic train battery wagon passes over a loading / unloading track.
* Replace deprecated depends.txt's by mod.conf and organize dependencies ↵orwell962021-03-13
| | | | consistently, add modpack.conf
* Added alternative recipes, falling back on the default: items as they seem ↵Maverick27972021-03-06
| | | | | | to be in the rest of the mod. May need rebalancing though.
* Add some missing craft recipesorwell962021-02-19
| | | | | | | - LuaATC remains non-craftable for now (elevated privs necessary anyway) - Some crafts altered from dario's proposal Co-authored-by: W3RQ01 <dario23@linux-forks.de>
* Make is_node_loaded() checks also for mesecon interactions and ↵orwell962021-02-04
| | | | digiline_send(), move on_updated_from_nodedb to advtrains table
* Add 3-way turnouts and y-turnouts (both diverging)Blockhead2020-09-11
|
* Deprecate old 4590 crossingsBlockhead2020-08-21
| | | | | | | This is done with a task that runs once when the nodedb is loaded. A new field of advtrains_ndb will keep a version integer to indicate migration versions. This introduces verson 1, no version being equivalent to 0. An LBM is also registered to replace the tracks in the world.
* Add two new sets of diamond crossing typesBlockhead2020-08-21
| | | | | | | | | | | | | | | | | | | | | | | | Add two new sets of diamond crossings in addition to the current set of perpendicular crossings. Also cleans up the inside edges on the perpendicular set models. All of these varieties have their mirror images, which was previously a problem with the 45/90 crossing. The naming convention for all of these rail types is this: when facing east and param2=0, the angle and direction of the two crossing rails is indicated. So 30l45r means 30 degrees left and 45 degrees right. The mirror image of that would be 30r45l. There is a recipe for each set of crossing types and the trackworker can change geometry within types with left cick, and rotate between two 90 degree rotations with right-click. When left-clicking, the angles move in an intuitive fashion like rotating rails. * The perpendicular set (already existing) has rails that cross at 90 degrees. * The 90+x set has 90 degree (straight, node aligned) rails plus a rail intersecting that at 30, 45 or 60 degrees. * The diagonal set has both rails not axis-aligned, for example 30r-45l, 60l60r. The latter is quite useful for scissors crossovers.
* Move recipes to train_track and add crossing recipesBlockhead2020-07-10
|
* Add perpendicular and 45/90 degree crossing railsBlockhead2020-07-06
| | | | | | | | | | | | | | Add a set of new models for crossings to make some new track arrangements possible. This commit adds perpendicular crossigns that can be rotated at any angle: 30/45/60/90 and 45/90 degree crossings in two rotations. In future, further crossing types can be added to the blender file. Add the blender file in rail_crossings.blend that is the source of these files and which refers to the texture inside advtrains_train_track. Add a set of prototypes for rail crossings to advtrains/tracks.lua and register the new crossings in advtrains_train_track.
* Move train_load() function into advtrains_train_trackorwell962017-12-18
|
* do not register wagons in the advtrains namespace automaticallyorwell962017-11-22
| | | | One step towards advcarts compatibility
* Moved default train track to separate mod, for integration with advcarts.Gabriel Pérez-Cerezo2017-10-25