Gleiche Bug-Klasse wie bei der Flasche, nur hatte mein Fix davor ausschliesslich
die Flasche geprueft: wer diving_gear im Tauchgang weggab, blieb ausgeruestet
und atmete weiter.
Die Besitzpruefung deckt jetzt beides ab. verifyTank heisst verifyGear und gibt
{ gear, tank } zurueck - fehlt eines von beidem, kommt die Ausruestung ab, mit
der passenden Meldung. Umsortieren im Inventar bindet weiterhin nur auf den
neuen Slot um.
Die Item-Namen stehen jetzt als gearItem/fillItem in config/shared.lua, statt
verteilt als Zeichenketten im Server-Code.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
41 lines
1.5 KiB
JSON
41 lines
1.5 KiB
JSON
{
|
|
"error": {
|
|
"not_standing_up": "You need to be on solid ground to put this on...",
|
|
"need_otube": "You don't have an air tank with you!",
|
|
"underwater": "You cannot do this underwater...",
|
|
"no_tank": "You don't have an air tank to refill!",
|
|
"tank_empty": "This air tank is empty!",
|
|
"tank_already_full": "This air tank is already full!",
|
|
"out_of_air": "You're out of air! Surface now!",
|
|
"no_lamp_on_outfit": "Your diving suit doesn't have a lamp.",
|
|
"crush_depth": "Danger! Below %d m the water pressure will crush you.",
|
|
"gear_gone": "Your diving gear is gone!",
|
|
"tank_gone": "Your air tank is gone!"
|
|
},
|
|
"success": {
|
|
"took_out": "You've taken your gear off!",
|
|
"tube_filled": "You've successfully refilled your air tank!"
|
|
},
|
|
"info": {
|
|
"put_suit": "Putting on your diving suit...",
|
|
"pullout_suit": "Taking off your diving suit...",
|
|
"filling_air": "Filling air...",
|
|
"oxygen_low": "Only %s of air left!",
|
|
"tank_remaining": "%s remaining (%d%%) · %s down to %d m",
|
|
"depth_limit": "You're approaching the limit of your breathing gas (%d m)!"
|
|
},
|
|
"menu": {
|
|
"choose_tank": "Choose an air tank"
|
|
},
|
|
"hud": {
|
|
"air": "Air",
|
|
"depth": "Depth",
|
|
"pressure": "Pressure",
|
|
"lamp": "Lamp"
|
|
},
|
|
"keybind": {
|
|
"toggle_lamp": "Toggle dive lamp",
|
|
"toggle_hud": "Toggle dive HUD"
|
|
}
|
|
}
|