SmallJoker
38307da22a
Carts: Improve movement behaviour ( #2951 )
...
Backported various changes from boost_cart
Improved direction handling and code cleanup
Smoothed-out 'end of rail' animation
2022-05-09 20:44:06 +02:00
Lars Mueller
638099c999
Fix incorrectly negated comparisons
2022-03-26 19:58:07 +01:00
SmallJoker
71ea0c65ea
Attachments: Proper data cleanup in callbacks ( #2865 )
2021-05-11 21:15:47 +02:00
SmallJoker
4945f4bf9a
Carts: Fix 0/0 condition on faulty tool capabilities
2021-05-02 14:59:22 +02:00
Maksim
e6aec880de
Use Minetest 5.3 'minetest.is_creative_enabled' API ( #2795 )
2020-12-13 18:59:19 +01:00
An0n3m0us
12f75ab803
Add correct front texture to cart texture ( #2720 )
2020-07-24 17:59:42 +02:00
sfan5
e849d54572
carts: Fix item collection ( #2689 )
2020-05-29 22:54:47 +02:00
SmallJoker
3452938c76
Carts: Re-add erroneously removed driver reset
...
carts:manage_attachment does not handle the driver value of the cart,
hence carts could not be used by another player until it's replaced.
2020-05-16 19:26:28 +02:00
SmallJoker
b787fcf7e4
Carts: Reset player view and attachment table on death
...
Fixes #2681
2020-05-15 19:04:38 +02:00
Zughy
d88e551071
Fix cart inventory image rendering ( #2666 )
...
Before it was rendering the side on both the side and the front of the minetest.inventorycube
2020-04-30 19:51:39 +02:00
sfan5
d3e26dba18
Convert minetest.sound_play uses to ephemeral
2020-02-05 22:24:23 +01:00
sfan5
e4adb01fbf
Fix and improve translation strings ( #2471 )
2019-09-12 19:03:10 +02:00
Yves Quemener
bb9279ccb8
Add support for MT 5 game translation (rebasing ) ( #2466 )
...
rebased #2368
2019-09-10 19:09:51 +02:00
Paramat
c284e52963
Boats, carts mods: Use 'initial_properties' table
2018-07-30 00:32:18 +01:00
SmallJoker
ecea5364f1
Update carts from boost_cart
...
Better pathfinder algorithm, allows tuning the lag spike compensation.
Smoother movement (when it's laggy).
Set the player animation to stand on attach.
Remove driver when they leave.
Only update velocity when it's necessary.
2018-07-07 02:08:36 +01:00
DTA7
a2d7678ffd
Add nil checks for placer
2017-11-15 23:16:28 +00:00
SmallJoker
454e0da531
Carts: Better wiggle prevention
2017-10-23 04:38:43 +01:00
SmallJoker
5870fd48f6
Carts: Replace old, deprecated function names
2017-10-23 04:38:28 +01:00
SmallJoker
c51ebcb74a
Carts: Do not connect rails with gunpowder ( #1812 )
2017-07-02 10:32:10 +02:00
paramat
5fe831ed13
Carts: Remove '+' added in commit 077316b
2017-03-30 04:24:29 +01:00
zaoqi
077316b4cd
Use creative.is_enabled_for for creative mode if possible ( #1558 )
2017-03-29 21:02:26 +02:00
Auke Kok
78c632ebd4
Allow interaction with nodes while wielding these items.
...
- beds
- boats
- carts
- key/skeleton key
- seeds
All these had on_place handlers that did not allow nodes with
an on_rightclick() handler to be used first (if not using
sneak). This code is taken from the torches mod and applied
everywhere.
This allows all these items to e.g. be inserted into the `frame`
mod's item frames.
2017-02-28 18:16:12 -08:00
paramat
3e5852993d
Carts: Stronger handbrake
...
Handbrake was barely noticeable and fairly useless.
Equalisng with brake rail deceleration makes it more intuitive to use
and easier to judge stopping distance.
2016-12-07 08:29:41 +00:00
paramat
f06f66ccc2
Boats / carts: Fix and improve on_punch functions
...
Boats:
Previously, boats were not added to inventory in creative mode, fix.
In creative mode multiple boats will not be added to inventory.
Add comment.
Carts:
Set speed to 2 if punched by a non-player, to match the effect of a
player punch.
Add comments.
2016-11-30 02:44:44 +00:00
Diego Martínez
788ae97ba1
Carts: Take creative mode into account
...
This commit makes the carts mod not add the cart
item to the player's inventory if running with
creative mode and the player already has it.
2016-11-28 01:27:54 +00:00
SmallJoker
1a6ad498d7
Carts: Increase performance overall
2016-11-27 03:27:53 +00:00
SmallJoker
81f8c8aef8
Carts: Move entity definition to seperate file
2016-11-27 03:27:53 +00:00