Merge branch 'rotate_selbox'

This commit is contained in:
Wuzzy 2023-04-09 04:57:53 +02:00
commit 0ceabf10ed

View File

@ -587,7 +587,7 @@ for l=1, #log_boats do
description = log_boats[l][2], description = log_boats[l][2],
_tt_help = S("Water vehicle"), _tt_help = S("Water vehicle"),
collisionbox = { -0.49, -0.49, -0.49, 0.49, 0.49, 0.49 }, collisionbox = { -0.49, -0.49, -0.49, 0.49, 0.49, 0.49 },
selectionbox = { -0.6, -0.501, -0.6, 0.6, 0.501, 0.6 }, selectionbox = { -0.5, -0.501, -1, 0.5, 0.501, 1, rotate = true },
inventory_image = "rp_boats_boat_log_"..id.."_item.png", inventory_image = "rp_boats_boat_log_"..id.."_item.png",
wield_image = "rp_boats_boat_log_"..id.."_item.png", wield_image = "rp_boats_boat_log_"..id.."_item.png",
_rp_wielditem_rotation = 135, _rp_wielditem_rotation = 135,
@ -634,7 +634,7 @@ for r=1, #rafts do
description = rafts[r][2], description = rafts[r][2],
_tt_help = S("Water vehicle"), _tt_help = S("Water vehicle"),
collisionbox = { -0.74, -0.3, -0.74, 0.74, 0.1, 0.74 }, collisionbox = { -0.74, -0.3, -0.74, 0.74, 0.1, 0.74 },
selectionbox = { -0.85, -0.301, -0.85, 0.85, 0.101, 0.85 }, selectionbox = { -0.85, -0.301, -0.95, 0.85, 0.101, 0.95, rotate = true },
inventory_image = "rp_boats_boat_raft_"..id.."_item.png", inventory_image = "rp_boats_boat_raft_"..id.."_item.png",
wield_image = "rp_boats_boat_raft_"..id.."_item.png", wield_image = "rp_boats_boat_raft_"..id.."_item.png",
_rp_wielditem_rotation = 135, _rp_wielditem_rotation = 135,