Ensure you have NodeJS v18 (needed for structuredClone).
npm i
npm run load:content
npm start
You must have debug mode enabled for any of these to work.
window.gainItem(itemName, quantity)
- gain an item in X quantity. For items, quantity should be 1. Resources can be set to any value.window.gainEveryResource(quantity)
- gain every resource with X quantity.window.gainEveryItem(quantity)
- gain every item with X quantity.window.discover(itemOrResourceName)
- discover an item or resource. Can make things show up quicker on the exchange, or anything else that requires discovery.window.fightThreat(threatName)
- begin combat against a specific threat.window.applyCombatEffectToPlayer(effect)
- add a specifically named effect to the player in combat.window.gainLevel(tradeskill, levels)
- gain a number of levels for a tradeskill (levels can be negative).window.setCombatHealth(value)
- set the player's health in combat to the specified value.window.setCombatEnergy(value)
- set the player's energy in combat to the specified value.window.discoverAll()
- discover all items. Not reversible. Lags a lot.npm run load:content
npx @ionic/cli g page pages/[page-name]
npx @ionic/cli g service services/[service-name]
stores/
stores/index.ts
stores/migrations.ts
src/assets/sfx
src/assets/icon
.fill
attribute.See CONTENT.md.