Added rogues' castle chest functionality

more object -> scenery renaming
This commit is contained in:
ceikry
2021-06-28 09:28:48 -05:00
parent b8e29d3281
commit c2857fc5af
303 changed files with 1560 additions and 1560 deletions
+11
View File
@@ -26,6 +26,7 @@ import core.game.world.map.RegionManager
import core.game.world.map.path.Pathfinder
import core.game.world.update.flag.context.Animation
import core.game.world.update.flag.context.Graphics
import core.tools.RandomFunction
import rs09.game.content.dialogue.DialogueFile
import rs09.game.system.SystemLogger
import rs09.game.world.GameWorld
@@ -961,4 +962,14 @@ object ContentAPI {
forceWalk(entity, entity.location.transform(diffX,diffY,0), "DUMB")
}
/**
* Submits an individual or "weak" pulse to a specific entity's pulse manager. Pulses submitted this way can be overridden by other pulses.
* @param entity the entity to submit the pulse to
* @param pulse the pulse to submit
*/
@JvmStatic
fun submitIndividualPulse(entity: Entity, pulse: Pulse){
entity.pulseManager.run(pulse)
}
}