Files
OpenMMO/codegen/src/generator/jte/item/Items.jte
T
Fiereu 9215a0862a feat(game): implement the Kanto story from Pallet Town through the Pokedex (#127)
* feat(game): implement Kanto story through the Pokedex

* fix(game): stop the rival walking into the player in the pokedex scene

* fix(game): stop oak teleporting to his desk in the starter scene

* fix(game): make a scripted warp arrive the way a walked one does

* fix(game): finish the oaks lab rival scene whether the player wins or loses

* chore(game): tidy the kanto script and item codegen comments

* docs: point the script guides at MapEntryScripts and trainerBattle

* fix(codegen): send item ids in the region whose table matches the decomp
2026-08-09 10:45:24 +02:00

16 lines
424 B
Plaintext

@import java.util.List
@import de.fiereu.openmmo.codegen.item.ParsedItem
@param List<ParsedItem> items
package de.fiereu.openmmo.items.generated
/**
* Item ids the client uses, already carrying the region prefix of the decomp they were read from.
* Generated from the GBA decomp item header, do not edit by hand.
*/
object Items {
@for(ParsedItem item : items)
const val ${item.getName()} = ${item.getId()}
@endfor
}