22 Commits

Author SHA1 Message Date
An0n3m0us
8f8d69990a Add correct front texture to cart texture (#2720) 2020-07-24 17:59:42 +02:00
sfan5
00e8308d5e carts: Fix item collection (#2689) 2020-05-29 22:54:47 +02:00
SmallJoker
8bc17965d4 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
878e66a92b Carts: Reset player view and attachment table on death
Fixes #2681
2020-05-15 19:04:38 +02:00
Zughy
fb81bc96f6 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
57b4fdea54 Convert minetest.sound_play uses to ephemeral 2020-02-05 22:24:23 +01:00
sfan5
47d9cc4ab8 Fix and improve translation strings (#2471) 2019-09-12 19:03:10 +02:00
Yves Quemener
4cc1fa5f03 Add support for MT 5 game translation (rebasing ) (#2466)
rebased #2368
2019-09-10 19:09:51 +02:00
Paramat
2bb1b11d36 Boats, carts mods: Use 'initial_properties' table 2018-07-30 00:32:18 +01:00
SmallJoker
f49607758c 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
8a68a18568 Add nil checks for placer 2017-11-15 23:16:28 +00:00
SmallJoker
4a234cb20d Carts: Better wiggle prevention 2017-10-23 04:38:43 +01:00
SmallJoker
7c12a9c872 Carts: Replace old, deprecated function names 2017-10-23 04:38:28 +01:00
SmallJoker
30f379a24b Carts: Do not connect rails with gunpowder (#1812) 2017-07-02 10:32:10 +02:00
paramat
e5819e6c78 Carts: Remove '+' added in commit 077316b 2017-03-30 04:24:29 +01:00
zaoqi
9aafe6333e Use creative.is_enabled_for for creative mode if possible (#1558) 2017-03-29 21:02:26 +02:00
Auke Kok
cda923c7b3 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
4f2b349541 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
e38a70df01 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
2332427322 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
fe96fcf80d Carts: Increase performance overall 2016-11-27 03:27:53 +00:00
SmallJoker
a9c977f79c Carts: Move entity definition to seperate file 2016-11-27 03:27:53 +00:00