mirror of
https://codeberg.org/SumianVoice/sum_airship.git
synced 2025-04-29 21:51:43 -04:00
Changed controls to more closely match common behavior and updated README
This commit is contained in:
parent
f5aae11a27
commit
4629825d86
2 changed files with 3 additions and 3 deletions
|
@ -6,7 +6,7 @@ Mod for [Luanti](https://luanti.org). You can download it from the in-game conte
|
|||
|
||||
This mod adds an airship to Minetest. It should work in most games, but only Minetest Game, MineClone (VoxeLibre) and RePixture are supported for crafting recipes. Games based on those may still have crafting if they use the same items. Other games are not because the mod doesn't know what each game calls each item or node. Although, it shouldn't crash no matter what game you use, this is only for crafting recipes.
|
||||
|
||||
**Controls:** Flies like a boat, WASD, jump and aux1 (sprint) for up and down. Shift to dismount. Does not require fuel but will go faster when given any type of coal.
|
||||
**Controls:** Flies like a boat, WSAD controls with the addition of jump for up, sneak for down, and aux1 (sprint) to dismount. Does not require fuel but will go faster when given any type of coal.
|
||||
|
||||
### Crafting
|
||||
|
||||
|
|
|
@ -289,7 +289,7 @@ function ship.on_step(self, dtime, moveresult)
|
|||
if self._driver and self._driver:is_player() then
|
||||
local name = self._driver:get_player_name()
|
||||
pi = self._driver:get_player_control()
|
||||
exit = pi.sneak
|
||||
exit = pi.aux1
|
||||
end
|
||||
if exit then
|
||||
me.detach(self)
|
||||
|
@ -316,7 +316,7 @@ function ship.on_step(self, dtime, moveresult)
|
|||
if pi.up then forward = 1
|
||||
elseif pi.down then forward = -1 end
|
||||
if pi.jump then climb = 1
|
||||
elseif pi.aux1 then climb = -1 end
|
||||
elseif pi.sneak then climb = -1 end
|
||||
if pi.right then right = 1
|
||||
elseif pi.left then right = -1 end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue