mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-12-27 11:45:18 +01:00
[pclasses & mff_pclasses] Change info menu
- Change info menu from a textarea to label components - Make `textify` public, becoming `pclasses.api.textify` - Use textify to create label lines
This commit is contained in:
@@ -23,15 +23,17 @@ pclasses.api.register_class("warrior", {
|
||||
tile = "default_steel_block.png",
|
||||
holo_item = "default:dungeon_master_s_blood_sword"
|
||||
},
|
||||
informations = "'Warriors' is a class of players designed to improve fighting parameters of players " ..
|
||||
"who chose to belong to it. You become a big tank, of human shape. Not only can you wear stronger " ..
|
||||
"protections (like the Black Mithril armor's pieces, because Black Mithril is a thing here), and " ..
|
||||
"use more powerful hand-to-hand weapons (such as the Dungeon Master's blood sword, because yes, you are going " ..
|
||||
"to fight Dungeon Masters and drain their blood), but your stamina bar is boosted up to 20! Trust us, " ..
|
||||
"running away is an important part of fighting a Dungeon Master. Being a warrior, you regenerate " ..
|
||||
"health faster, which is, again, quite handy, at the cost of needing to eat more frequently (less handy).\n" ..
|
||||
"The pedestal tied to the Warriors' includes the strongest sword, available only to Warriors : the " ..
|
||||
"Dungeon Master's Blood Sword. It just looks like what you imagine, just more pixel-ish."
|
||||
informations = pclasses.api.textify("'Warriors' is a class of players designed to improve fighting parameters of players who\n" ..
|
||||
"chose to belong to it. You become a big tank, of human shape. Not only can you wear\n" ..
|
||||
"stronger protections (like the Black Mithril armor's pieces, because Black Mithril is a thing\n" ..
|
||||
"here), and use more powerful hand-to-hand weapons (such as the Dungeon Master's\n" ..
|
||||
"blood sword, because yes, you are going to fight Dungeon Masters and drain their blood),\n" ..
|
||||
"but your stamina bar is boosted up to 20! Trust us, running away is an important part\n" ..
|
||||
"of fighting a Dungeon Master. Being a warrior, you regenerate health faster, which is,\n" ..
|
||||
"again, quite handy, at the cost of needing to eat more frequently (less handy). The\n" ..
|
||||
"pedestal tied to the Warriors' includes the strongest sword, available only to Warriors :\n" ..
|
||||
"the Dungeon Master's Blood Sword. It just looks like what you imagine, just\n" ..
|
||||
"more pixel-ish.")
|
||||
})
|
||||
|
||||
pclasses.api.reserve_item("warrior", "default:sword_mithril")
|
||||
|
||||
Reference in New Issue
Block a user