Rewrote enchanted jewellery

Fixes the funny bug that gets you stuck as a tiny person when teleporting sometimes
This commit is contained in:
downthecrop
2022-06-29 08:51:09 +00:00
committed by Ryan
parent e429b15911
commit a753db5ed7
8 changed files with 400 additions and 372 deletions
+2 -1
View File
@@ -5,10 +5,11 @@ import core.game.node.Node
import core.game.node.entity.Entity
import core.game.node.entity.npc.NPC
import core.game.node.entity.player.link.TeleportManager.TeleportType
import core.game.world.map.Location
data class ResourceProducedEvent(val itemId: Int, val amount: Int, val source: Node, val original: Int = -1) : Event
data class NPCKillEvent(val npc: NPC) : Event
data class TeleportEvent(val type: TeleportType, val source: Int = -1) : Event
data class TeleportEvent(val type: TeleportType, val source: Int = -1, val location: Location) : Event
data class LitFireEvent(val logId: Int) : Event
data class InteractionEvent(val target: Node, val option: String) : Event
data class ButtonClickedEvent(val iface: Int, val buttonId: Int) : Event