User Tools

Site Tools


mr:gases_immunity_buff

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
mr:gases_immunity_buff [2026/09/09 14:03] – Fix wiki standards compliance: update heading levels to use ==== (4 equals) per documentation, add missing tags, add missing image reference Wiki Maintenancemr:gases_immunity_buff [2026/09/09 14:06] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Gases Immunity Buff - Code References ======
 +
 +{{ rpd:images:gases_immunity_buff.png|Gases Immunity }}
 +
 +==== Java Classes ====
 +This entity is primarily implemented in Lua. Java reference:
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/mechanics/buffs/BuffFactory.java#L77|BuffFactory.java#L77]] - Defines constant ''GASES_IMMUNITY = "GasesImmunity"''
 +  * Buff system uses Lua scripting for behavior definition
 +
 +==== JSON Configuration ====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/spritesDesc/gases_immunity.json|spritesDesc/gases_immunity.json]] - Sprite configuration (if exists)
 +  * Buff configuration is handled via Lua script
 +
 +==== String Resources ====
 +  * English: ''GasImmuneBuff_Name'' = "Gas Immunity"
 +  * English: ''GasImmuneBuff_Info'' = "Immune to all gases."
 +  * Note: Actual display name and description are defined by these string resources
 +
 +==== Lua Scripts ====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/scripts/buffs/GasesImmunity.lua|scripts/buffs/GasesImmunity.lua]]
 +    * Immunities: Provides immunity to ''ToxicGas'', ''Paralysis'', and ''Vertigo'' buffs
 +    * Icon: Uses icon index 25
 +    * Name Key: ''GasImmuneBuff_Name''
 +    * Info Key: ''GasImmuneBuff_Info''
 +    * Implementation: Uses ''immunities()'' function to return gas buff names
 +
 +==== Additional References ====
 +  * Base Buff System: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/Buff.java|Buff.java]]
 +  * Buff Factory: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/mechanics/buffs/BuffFactory.java|BuffFactory.java]] - Registers and creates buffs
 +  * Lua Buff Library: [[https://github.com/NYRDS/remixed-dungeon/blob/master/scripts/lib/buff.lua|scripts/lib/buff.lua]] - Base buff functionality for Lua scripts
 +
 +==== Entity Kind ====
 +  * **getEntityKind():** Returns "GasesImmunity" from Lua script configuration
 +  * **Buff Category:** Positive buff / Immunity buff
 +  * **Duration:** Temporary buff with timed duration
 +
 +{{tag> rpd buffs immunities machine_readable gases}}
  
mr/gases_immunity_buff.txt · Last modified: by 127.0.0.1