SmallJoker
71ea0c65ea
Attachments: Proper data cleanup in callbacks ( #2865 )
2021-05-11 21:15:47 +02:00
The most random of all meshes
1ade8941b4
Fix boat floating in the air when water being drained away ( #2788 )
2020-12-28 15:56:04 +01:00
Maksim
e6aec880de
Use Minetest 5.3 'minetest.is_creative_enabled' API ( #2795 )
2020-12-13 18:59:19 +01:00
Bartosz
dd71dcbcf6
boats: Improve physics by implementing drag and friction forces
...
Implement drag force according to the equation:
drag_force = drag_coefficient * speed ^2
Also add a small constant force to implement friction force.
2019-10-24 03:47:28 +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
Paramat
ee72bc722c
Boats: Use driver name string instead of objectref
2018-07-15 21:50:07 +01:00
Paramat
5c8bd34957
Boats: Properly use 'dtime' for consistent responsiveness
...
Previously, boat responsiveness varied greatly depending on server
lag and singleplayer / multiplayer.
'dtime' is the time from the last execution of the boat entity
'on step' function, so must multiply acceleration and yaw change.
Retune acceleration, turn rate and drift deceleration.
Make reversed turn only happen with significant backwards speed.
2018-07-07 21:00:31 +01:00
Paramat
59dbeebc2f
Boats: Add cruise mode (boat autoforward)
...
Document controls in README.txt.
Optimise 'get yaw' and 'set yaw' code.
2018-07-03 19:52:28 +01:00
SmallJoker
255031fc91
Replace deprecated function calls
2018-07-01 20:44:03 +01:00
paramat
70d91bc64d
Revert "Boats: Prevent entering 'ignore' nodes"
...
This reverts commit 7754555707a6a1bf1e8f4b57788e27e57fde1cd8.
Due to recent engine commit boats now collide with 'ignore' nodes.
2018-02-26 18:47:18 +00:00
paramat
7754555707
Boats: Prevent entering 'ignore' nodes
...
At world edge make boat bounce back into world by inverting speed.
At world base avoid falling into ignore by setting y velocity to 0.
2018-02-17 09:37:22 +00:00
DTA7
a2d7678ffd
Add nil checks for placer
2017-11-15 23:16:28 +00:00
Rui
fe710c99a6
Boats: Fix player position ( #1871 )
2017-08-13 13:47:01 +02: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
3c9d0893ee
Boats: Avoid crash if boat pos over limit
...
If the boat pos is over limit, 'add entity' will not add an entity,
causing 'boat' to be nil.
2016-12-21 13:42:23 +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
pilino1234
2c122052d4
Boats: Use player yaw on place, align player yaw with boat on enter
...
When placing boats, align the boat with the player's yaw.
Align drivers yaw with boat yaw when entering a boat, would previously turn
boat yaw by player's yaw + 90° to the right.
2016-11-19 23:44:27 +00:00
cx384
23ba2d3a0c
Add and edit fuel registrations
...
Edited fuels: fences, wooden ladder.
New fuels:
boat, paper, book, dry shrub, stick, vessels shelf, wooden tools,
wooden door, trapdoor, fence gates, farming crops, stairs, slabs, beds.
2016-11-02 13:04:25 +00:00
Fernando Carmona Varo
3c9d71e6f7
Make flammable: Flowers, grasses and several crafitems
2016-10-25 02:37:36 +01:00
SmallJoker
ea49eb3f3d
Beds, boats: Replace deprecated get_look_yaw/set_look_yaw
2016-07-27 21:39:22 +01:00
Tim
4473627de0
Remove unused and clean up missused variable-value assignments.
...
* Unused variables
* Unused values (assigned to variables, but overwritten before use)
* Defining already defined variables instead of reassigning to them.
2016-07-15 21:58:49 +01:00
Tim
71c7e21669
Always return the leftover ItemStack for on_place and on_rightclick
2016-07-09 16:32:41 +01:00
paramat
da0fe31443
Boats: Raise collisionbox top surface to fix boat behaviour
...
Lowering the top surface to be level with the boat top somehow
causes the boat to fall through world if underwater. Revert to
previous position that is needed for correct behaviour
2016-06-14 23:29:21 +01:00
Auke Kok
fc902a77de
Boats: Lower boat collision box top
...
Standing on a boat makes you appear to "hover" over it since this
collision box is way too high. Lower it so that it's low enough
to look normal when walking on top of a boat
2016-05-23 08:37:58 +01:00
paramat
f8e273da15
Boats: Increase maximum velocity to 5n/s
2016-04-16 19:27:47 +01:00
Craig Davison
0add474af2
Follow naming conventions of textures and models in boats
2016-02-03 19:33:46 +00:00
Rui914
a88576afd1
Boats: Check player attached object
2015-10-29 23:06:01 +00:00
paramat
f3dc78204c
Boats: Check inventory in boat.on_punch
...
If puncher inventory is full, then drop boat
2015-10-20 00:26:30 +01:00
paramat
99d0442cc9
Boats: Fix sinking through boat when detaching
...
By CProgrammerRU
Also, by paramat:
Slightly raise base of collision box
Improve code style
2015-08-18 22:35:16 +01:00
jp@localhost.localdomain
9eb9502209
Optimize boat model
2015-03-21 17:28:36 +01:00
paramat
d57cb0a110
Boats mod improve y motion. Smaller collision box. Reverse turn with negative velocity only. Smooth turning. Enable underwater higher acceleration
2014-10-29 10:54:39 +00:00
BlockMen
349a63ed14
Allow only boat driver to be detached from boat ( fixes #276 )
2014-10-03 03:20:31 +02:00
paramat
5b5aa493b5
Fix boat flying up and some tweaks
2014-08-07 12:27:40 +02:00
Novatux
c993e14084
Add spaces around operators in boat mod code, fix a problem with boat staticdata, fix a crash that can occur with boat going over unknown nodes.
2014-07-09 09:47:51 +02:00
BlockMen
5e0c49345a
Fix boats again
2014-07-06 12:12:05 +02:00
BlockMen
584718a2a7
Rename functions, update API
2014-07-06 10:54:47 +02:00
sfan5
46b6cee1fc
Fix crash in boats mod
2014-07-06 10:30:59 +02:00
BlockMen
e0673908bf
Update only moving boats
2014-07-05 16:06:55 +02:00
BlockMen
18d0bdd2bb
Add boats
2014-07-05 16:03:33 +02:00