Profile: remove icons representing weapon properties (use description instead)
This commit is contained in:
parent
9cc73da5c6
commit
91a5fd5c70
@ -41,8 +41,6 @@ You've left test mode=Sei uscito dalla modalità test
|
||||
Welcome to your Block League profile!=Benvenuto/a nel tuo profilo di Block League!
|
||||
Here you can learn about weapons and change your passive skill: select one from the panel on the left to know more about it=Qui puoi scoprire cosa fanno le armi e cambiare la tua abilità passiva: selezionane una dal pannello sulla sinistra per saperne di più
|
||||
More customisations will be possible in the future@1 (donations help)=In futuro saran possibili ulteriori personalizzazioni@1 (le donazioni aiutano)
|
||||
Decrease damage with distance=Il danno diminuisce con la distanza
|
||||
Pierce through=Penetrazione
|
||||
EQUIP=EQUIPAGGIA
|
||||
Weapons=Armi
|
||||
Skills=Abilità
|
||||
@ -87,7 +85,7 @@ Great choice for strikers, as it allows players to run more and perform tricks m
|
||||
# weapons/pixelgun.lua
|
||||
Pixelgun=Pixelgun
|
||||
Sniping weapon: you'll never be too far away=Fucile da cecchino: non si è mai troppo distanti
|
||||
shoot, @1♥=sparo, @1♥
|
||||
piercing shot, @1♥=colpo perforante, @1♥
|
||||
zoom=zoom
|
||||
|
||||
# weapons/rocket_launcher.lua
|
||||
|
@ -41,8 +41,6 @@ You've left test mode=
|
||||
Welcome to your Block League profile!=
|
||||
Here you can learn about weapons and change your passive skill: select one from the panel on the left to know more about it=
|
||||
More customisations will be possible in the future@1 (donations help)=
|
||||
Decrease damage with distance=
|
||||
Pierce through=
|
||||
EQUIP=
|
||||
Weapons=
|
||||
Skills=
|
||||
@ -87,7 +85,7 @@ Great choice for strikers, as it allows players to run more and perform tricks m
|
||||
# weapons/pixelgun.lua
|
||||
Pixelgun=
|
||||
Sniping weapon: you'll never be too far away=
|
||||
shoot, @1♥=
|
||||
piercing shot, @1♥=
|
||||
zoom=
|
||||
|
||||
# weapons/rocket_launcher.lua
|
||||
|
@ -36,25 +36,6 @@ function get_formspec(p_name)
|
||||
or "image[2,1.7;1.5,1.5;" .. weap.wield_image .. "]"
|
||||
elem_name = weap.description
|
||||
|
||||
local properties = {}
|
||||
local prop = ""
|
||||
local prop_y = 1
|
||||
|
||||
-- calcolo le varie proprietà
|
||||
if weap.decrease_damage_with_distance then
|
||||
prop = "image[5.5," .. prop_y .. ";0.5,0.5;bl_gui_profile_prop_distance.png]tooltip[5.5," .. prop_y .. ";0.5,0.5;" .. S("Decrease damage with distance") .."]"
|
||||
prop_y = prop_y + 1
|
||||
table.insert(properties, prop)
|
||||
end
|
||||
|
||||
if weap.pierce then
|
||||
prop = "image[5.5," .. prop_y .. ";0.5,0.5;bl_gui_profile_prop_pierce.png]tooltip[5.5," .. prop_y .. ";0.5,0.5;" .. S("Pierce through") .. "]"
|
||||
prop_y = prop_y + 1
|
||||
table.insert(properties, prop)
|
||||
end
|
||||
|
||||
properties = next(properties) and table.concat(properties, "") or ""
|
||||
|
||||
local ammo = ""
|
||||
if weap.weapon_type ~= 3 then
|
||||
ammo = table.concat({
|
||||
@ -76,7 +57,6 @@ function get_formspec(p_name)
|
||||
}, "")
|
||||
|
||||
body = table.concat({
|
||||
properties,
|
||||
"hypertext[0.3,4.2;4.48,0.7;elem_desc;<global size=15 halign=center valign=middle><style color=#abc0c0><i>" .. weap.profile_description .. "</i>]",
|
||||
attributes
|
||||
}, "")
|
||||
|
@ -5,7 +5,7 @@ block_league.register_weapon("block_league:pixelgun", {
|
||||
|
||||
description = S("Pixelgun"),
|
||||
profile_description = S("Sniping weapon: you'll never be too far away"),
|
||||
action1 = S("shoot, @1♥", "<style color=#f66c77>" .. dmg),
|
||||
action1 = S("piercing shot, @1♥", "<style color=#f66c77>" .. dmg),
|
||||
action2 = S("zoom"),
|
||||
|
||||
mesh = "bl_pixelgun.obj",
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 119 B |
Binary file not shown.
Before Width: | Height: | Size: 122 B |
Loading…
x
Reference in New Issue
Block a user