feat: Flasche und Maske als Kleidung, Patronen tauschen, HUD-Anmeldung

- Tauchgeraet bereit = Taucherflasche (rigItem, Slot 31) mit Patrone UND
  Maske (maskItem, Slot 29) angezogen; Server getWorn statt verifyGear,
  geprueft bei jeder Inventaraenderung und nach jedem Umziehen.
  Props, diving_gear und der Anzieh-Balken entfallen.
- Die fuenf Flaschen sind Patronen: benutzen = in die getragene Flasche
  einsetzen, die alte kommt mit Restluft zurueck (patroneTauschen).
- Faeden mit Laufnummer, damit ein Tausch sie nicht verdoppelt.
- exports.ox_inventory -> exports.d4rk_inventory, Meldungen ueber
  lib.notify (meldung_shared) und d4rk_bridge:Notify.
- Konsole beim HUD angemeldet (client/hud.lua), 366 x 165 bei 1080p
  gemessen; ohne HUD bleibt die CSS-Position.
- Nachfuellen (diving_fill) stillgelegt: kommt spaeter ueber Shop/Crafting.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
D4rkst3randClaude Opus 5.5 committed 2026-09-28 23:48:26 +02:00
1 parent 930ff6381f
commit e64a1bd3d0
9 files changed
+401 -214

No files matched your search

+15 -4
View File
@@ -10,11 +10,19 @@
"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!"
"tank_gone": "Your air tank is gone!",
"keine_flasche": "You are not wearing a scuba tank.",
"keine_maske": "No diving mask, no breathing apparatus.",
"keine_patrone": "There is no cartridge in your scuba tank.",
"keine_patrone_im_slot": "You no longer have that cartridge.",
"kein_platz": "No room for the old cartridge.",
"ungueltig": "That does not work.",
"fehler": "That did not work."
},
"success": {
"took_out": "You've taken your gear off!",
"tube_filled": "You've successfully refilled your air tank!"
"tube_filled": "You've successfully refilled your air tank!",
"patrone_getauscht": "Cartridge inserted."
},
"info": {
"put_suit": "Putting on your diving suit...",
@@ -22,7 +30,9 @@
"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)!"
"depth_limit": "You're approaching the limit of your breathing gas (%d m)!",
"bereit": "Breathing apparatus ready - %s of air.",
"patrone_einsetzen": "Inserting cartridge..."
},
"menu": {
"choose_tank": "Choose an air tank"
@@ -31,7 +41,8 @@
"air": "Air",
"depth": "Depth",
"pressure": "Pressure",
"lamp": "Lamp"
"lamp": "Lamp",
"konsole": "Dive console"
},
"keybind": {
"toggle_lamp": "Toggle dive lamp",