Implemented save file versioning
Players who likely bought their crafting capes back when the hood was not obtainable will be given the complementary hood Unlocked Surok's Theme for players who are eligible Fixed some bugs relating to the handling of edge cases for random events Fixed tutorial island quest completion Made it possible to collapse interface stones in resizable HD
This commit is contained in:
@@ -11,7 +11,7 @@ import org.rs09.consts.NPCs
|
||||
|
||||
object DrillDemonUtils {
|
||||
val DD_KEY_TASK = "/save:drilldemon:task"
|
||||
val DD_KEY_RETURN_LOC = "/save:drilldemon:original-loc"
|
||||
val DD_KEY_RETURN_LOC = "/save:original-loc"
|
||||
val DD_SIGN_VARP = 531
|
||||
val DD_SIGN_JOG = 0
|
||||
val DD_SIGN_SITUP = 1
|
||||
|
||||
@@ -13,7 +13,7 @@ import org.rs09.consts.NPCs
|
||||
import org.rs09.consts.Scenery
|
||||
|
||||
object EvilBobUtils {
|
||||
const val prevLocation = "/save:evilbob:prevlocation"
|
||||
const val prevLocation = "/save:original-loc"
|
||||
const val eventComplete = "/save:evilbob:eventcomplete"
|
||||
const val assignedFishingZone = "/save:evilbob:fishingzone"
|
||||
const val fishCaught = "evilbob:fishcaught"
|
||||
|
||||
@@ -10,7 +10,7 @@ import core.tools.RandomFunction
|
||||
|
||||
object FreakUtils{
|
||||
const val freakNpc = NPCs.FREAKY_FORESTER_2458
|
||||
const val freakPreviousLoc = "/save:freakyf:location"
|
||||
const val freakPreviousLoc = "/save:original-loc"
|
||||
const val freakTask = "/save:freakyf:task"
|
||||
const val freakComplete = "/save:freakyf:complete"
|
||||
const val pheasantKilled = "freakyf:killed"
|
||||
|
||||
@@ -13,7 +13,7 @@ import core.ServerConstants
|
||||
|
||||
object SurpriseExamUtils {
|
||||
|
||||
val SE_KEY_LOC = "supexam:loc"
|
||||
val SE_KEY_LOC = "/save:original-loc"
|
||||
val SE_KEY_INDEX = "supexam:index"
|
||||
val SE_LOGOUT_KEY = "suprise_exam"
|
||||
val SE_DOOR_KEY = "supexam:door"
|
||||
|
||||
@@ -8,6 +8,8 @@ import core.game.node.item.GroundItemManager;
|
||||
import core.game.node.item.Item;
|
||||
import core.tools.RandomFunction;
|
||||
|
||||
import static core.api.ContentAPIKt.addItemOrBank;
|
||||
|
||||
/**
|
||||
* Represents the gertrudes fortress quest.
|
||||
* @author 'Vexia
|
||||
@@ -84,7 +86,7 @@ public class GertrudesCat extends Quest {
|
||||
player.getPacketDispatch().sendItemZoomOnInterface(kitten.getId(), 240, 277, 3 + 2);
|
||||
setStage(player, 100);
|
||||
if (player.getFamiliarManager().hasFamiliar()) {
|
||||
player.getInventory().add(kitten);
|
||||
addItemOrBank(player, kitten.getId(), 1);
|
||||
} else {
|
||||
player.getFamiliarManager().summon(kitten, true, false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user