feat: Patronen per Client-Export, /tauchartikel legt die Items an
CreateUseableItem feuert fuer Items aus d4rk_items nie: consume ist dort immer gesetzt (daten.lua:224), das Inventar erreicht den qbx-Rueckruf nur bei consume == nil (server.lua:623). Die Patronen tragen deshalb client_export = d4rk_divegear.patroneBenutzen und consume 0, wie d4rk_medical. /tauchartikel legt die sieben Items ueber adminItemCreate an, nur auf Zuruf; "nachziehen" stellt bei vorhandenen nur consume und Export richtig. Flasche und Maske consume 0 wie das Kleidungsitem clothing. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
e64a1bd3d0
commit
accee02a05
6 files changed
+236
-12
No files matched your search
@@ -47,5 +47,35 @@
|
||||
"keybind": {
|
||||
"toggle_lamp": "Toggle dive lamp",
|
||||
"toggle_hud": "Toggle dive HUD"
|
||||
},
|
||||
"artikel": {
|
||||
"diving_tank": {
|
||||
"name": "Scuba tank",
|
||||
"text": "Breathing apparatus to wear. Use a cartridge to insert or swap it."
|
||||
},
|
||||
"diving_mask": {
|
||||
"name": "Diving mask",
|
||||
"text": "No mask, no breathing underwater."
|
||||
},
|
||||
"diving_tank_small": {
|
||||
"name": "Tank cartridge (5 min)",
|
||||
"text": "Compressed air, 300 bar, down to 45 m. Lasts about 5 minutes."
|
||||
},
|
||||
"diving_tank_medium": {
|
||||
"name": "Tank cartridge (10 min)",
|
||||
"text": "Compressed air, 300 bar, down to 45 m. Lasts about 10 minutes."
|
||||
},
|
||||
"diving_tank_large": {
|
||||
"name": "Tank cartridge (15 min)",
|
||||
"text": "Compressed air, 300 bar, down to 45 m. Lasts about 15 minutes."
|
||||
},
|
||||
"diving_tank_xl": {
|
||||
"name": "Tank cartridge (20 min)",
|
||||
"text": "Compressed air, 300 bar, down to 45 m. Lasts about 20 minutes."
|
||||
},
|
||||
"diving_tank_trimix": {
|
||||
"name": "Trimix cartridge (15 min)",
|
||||
"text": "Trimix, 300 bar, down to 100 m. Lasts about 15 minutes."
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user