====== Golden Key Item - Code References ======
===== Java Classes =====
* [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/keys/GoldenKey.java|GoldenKey.java]] - Main implementation extending Key
===== Java Class Content =====
package com.watabou.pixeldungeon.items.keys;
import com.watabou.pixeldungeon.sprites.ItemSpriteSheet;
public class GoldenKey extends Key {
{
image = ItemSpriteSheet.GOLDEN_KEY;
}
}
===== JSON Configuration =====
This item does not have specific JSON configuration, as it's a basic key type defined in code.
===== String Resources =====
golden key
The notches on this golden key are tiny and intricate. Maybe it can open some chest lock?
===== Translated String Resources =====
Actual string resources from the game (verified against values-*/strings_all.xml):
golden key
The notches on this golden key are tiny and intricate. Maybe it can open some chest lock?
золотой ключ
Засечки на этом ключе имеют миниатюрную, замысловатую форму. Наверное он подойдёт к какому-нибудь сундуку?
金钥匙
这把金钥匙的凸凹纹路很精密,也许能解开些宝箱的锁?
Clé dorée
Les encoches de cette clé dorée sont petites et complexes. Peut-être que ça peut ouvrir une serrure de coffre ?
Goldener Schlüssel
Die Einkerbungen dieses goldenen Schlüssels sind klein und verworren. Vielleicht kann er ein Truhenschloss öffnen?
llave dorada
Las muescas en esta llave dorada son pequeñas y complejas. ¿Podría abrir algún tipo de cofre?
chave de ouro
Os entalhes nesta chave de ouro são minúsculos e intrincados. Talvez ele pode abrir alguns cofres fechados!?
chiave d'oro
Le tacche su questa chiave dorata sono piccole ed intricate. Forse può aprire la serratura di qualche scrigno?
金の鍵
この金の鍵の切り込みは小さく、複雑だ。もしかしたら、どこかのチェストの鍵を開けることができるかもしれない。
황금 열쇠
이 황금 열쇠는 작고 복잡한 홈이 있습니다. 아마 어떤 상자의 잠금 장치를 열 수 있지 않을까요?
złoty klucz
Wyszczerbienia na tym złotym kluczu są małe i intrygujące. Może otwierają zamek jakiejś skrzyni?
золотий ключ
Насічки на ключі мають дрібну та заплутану форму. Можливо цей ключ підійде до якоїсь скрині?
altın anahtar
Bu altın anahtar ile kilitli bir sandığı açabilirsin
kunci emas
Takik pada kunci emas ini kecil dan rumit. Mungkin itu bisa membuka peti yang di kunci?
χρυσό κλειδί
Οι εγκοπές αυτού του χρυσού κλειδιού είναι μικρές και περίτεχνες. Μήπως ανοίγει κάποιο κλειδωμένο σεντούκι;
kunci emas
Gigi kunci tampak kecil dan rumit. Mungkin ia boleh membuka peti berkunci?
arany kulcs
Aprók és bonyolultak a bevágások ezen az arany kulcson. Lehet hogy egy láda zárját nyitja?
מפתח זהב
החריצים במפתח הזהב הזעיר והמסובך. אולי הוא יכול לפתוח מנעול של תיבה כלשהי?
المفتاح الذهبي
الشقوق الموجودة على هذا المفتاح الذهبي دقيقة ومعقدة. ربما يستطيع فتح قفل صندوق ما؟
===== Lua Scripts =====
This entity is implemented in Java, no Lua script exists
===== Usage =====
* Opens LOCKED_CHEST and CRYSTAL_CHEST heaps, checked in OpenChest.java via ''getKey(GoldenKey.class, ...)''
* Part of the key family of items; stored in the Keyring bag (''bag()'' returns Keyring)
* Cannot be upgraded; carries a ''levelId'' so it only opens chests on the level where it was found
* Shows its depth in the status line (''status()'' returns depth)
===== Related mr Entities =====
* [[mr:iron_key_item|Iron Key]] - Opens iron locks
* [[mr:skeleton_key_item|Skeleton Key]] - Universal key that opens all chests
* [[mr:keyring_item|Keyring]] - Container for holding multiple keys
* [[mr:chests|Chests - Code References]] - Container heaps that require keys to open
* [[mr:keys|Keys - Code References]] - Key item family reference