mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-23 15:20:52 +01:00
Reset state on creation for special interactions
This commit is contained in:
parent
9117065093
commit
4caedc516b
@ -22,11 +22,13 @@ public class InteractionCannon extends HabboItem
|
|||||||
public InteractionCannon(ResultSet set, Item baseItem) throws SQLException
|
public InteractionCannon(ResultSet set, Item baseItem) throws SQLException
|
||||||
{
|
{
|
||||||
super(set, baseItem);
|
super(set, baseItem);
|
||||||
|
this.setExtradata("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
public InteractionCannon(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
public InteractionCannon(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
||||||
{
|
{
|
||||||
super(id, userId, item, extradata, limitedStack, limitedSells);
|
super(id, userId, item, extradata, limitedStack, limitedSells);
|
||||||
|
this.setExtradata("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -16,11 +16,13 @@ public class InteractionEffectGiver extends InteractionDefault
|
|||||||
public InteractionEffectGiver(ResultSet set, Item baseItem) throws SQLException
|
public InteractionEffectGiver(ResultSet set, Item baseItem) throws SQLException
|
||||||
{
|
{
|
||||||
super(set, baseItem);
|
super(set, baseItem);
|
||||||
|
this.setExtradata("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
public InteractionEffectGiver(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
public InteractionEffectGiver(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
||||||
{
|
{
|
||||||
super(id, userId, item, extradata, limitedStack, limitedSells);
|
super(id, userId, item, extradata, limitedStack, limitedSells);
|
||||||
|
this.setExtradata("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -17,11 +17,13 @@ public class InteractionFXBox extends InteractionDefault
|
|||||||
public InteractionFXBox(ResultSet set, Item baseItem) throws SQLException
|
public InteractionFXBox(ResultSet set, Item baseItem) throws SQLException
|
||||||
{
|
{
|
||||||
super(set, baseItem);
|
super(set, baseItem);
|
||||||
|
this.setExtradata("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
public InteractionFXBox(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
public InteractionFXBox(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
||||||
{
|
{
|
||||||
super(id, userId, item, extradata, limitedStack, limitedSells);
|
super(id, userId, item, extradata, limitedStack, limitedSells);
|
||||||
|
this.setExtradata("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -17,11 +17,13 @@ public class InteractionGuildGate extends InteractionGuildFurni
|
|||||||
public InteractionGuildGate(ResultSet set, Item baseItem) throws SQLException
|
public InteractionGuildGate(ResultSet set, Item baseItem) throws SQLException
|
||||||
{
|
{
|
||||||
super(set, baseItem);
|
super(set, baseItem);
|
||||||
|
this.setExtradata("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
public InteractionGuildGate(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
public InteractionGuildGate(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
||||||
{
|
{
|
||||||
super(id, userId, item, extradata, limitedStack, limitedSells);
|
super(id, userId, item, extradata, limitedStack, limitedSells);
|
||||||
|
this.setExtradata("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -17,11 +17,13 @@ public class InteractionHabboClubGate extends InteractionGate
|
|||||||
public InteractionHabboClubGate(ResultSet set, Item baseItem) throws SQLException
|
public InteractionHabboClubGate(ResultSet set, Item baseItem) throws SQLException
|
||||||
{
|
{
|
||||||
super(set, baseItem);
|
super(set, baseItem);
|
||||||
|
this.setExtradata("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
public InteractionHabboClubGate(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
public InteractionHabboClubGate(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
||||||
{
|
{
|
||||||
super(id, userId, item, extradata, limitedStack, limitedSells);
|
super(id, userId, item, extradata, limitedStack, limitedSells);
|
||||||
|
this.setExtradata("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -18,11 +18,13 @@ public class InteractionHopper extends HabboItem
|
|||||||
public InteractionHopper(ResultSet set, Item baseItem) throws SQLException
|
public InteractionHopper(ResultSet set, Item baseItem) throws SQLException
|
||||||
{
|
{
|
||||||
super(set, baseItem);
|
super(set, baseItem);
|
||||||
|
this.setExtradata("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
public InteractionHopper(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
public InteractionHopper(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
||||||
{
|
{
|
||||||
super(id, userId, item, extradata, limitedStack, limitedSells);
|
super(id, userId, item, extradata, limitedStack, limitedSells);
|
||||||
|
this.setExtradata("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -24,11 +24,13 @@ public class InteractionObstacle extends HabboItem
|
|||||||
public InteractionObstacle(ResultSet set, Item baseItem) throws SQLException
|
public InteractionObstacle(ResultSet set, Item baseItem) throws SQLException
|
||||||
{
|
{
|
||||||
super(set, baseItem);
|
super(set, baseItem);
|
||||||
|
this.setExtradata("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
public InteractionObstacle(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
public InteractionObstacle(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
||||||
{
|
{
|
||||||
super(id, userId, item, extradata, limitedStack, limitedSells);
|
super(id, userId, item, extradata, limitedStack, limitedSells);
|
||||||
|
this.setExtradata("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -23,11 +23,13 @@ public class InteractionOneWayGate extends HabboItem
|
|||||||
public InteractionOneWayGate(ResultSet set, Item baseItem) throws SQLException
|
public InteractionOneWayGate(ResultSet set, Item baseItem) throws SQLException
|
||||||
{
|
{
|
||||||
super(set, baseItem);
|
super(set, baseItem);
|
||||||
|
this.setExtradata("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
public InteractionOneWayGate(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
public InteractionOneWayGate(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
||||||
{
|
{
|
||||||
super(id, userId, item, extradata, limitedStack, limitedSells);
|
super(id, userId, item, extradata, limitedStack, limitedSells);
|
||||||
|
this.setExtradata("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -19,11 +19,13 @@ public class InteractionPetToy extends InteractionDefault
|
|||||||
public InteractionPetToy(ResultSet set, Item baseItem) throws SQLException
|
public InteractionPetToy(ResultSet set, Item baseItem) throws SQLException
|
||||||
{
|
{
|
||||||
super(set, baseItem);
|
super(set, baseItem);
|
||||||
|
this.setExtradata("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
public InteractionPetToy(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
public InteractionPetToy(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
||||||
{
|
{
|
||||||
super(id, userId, item, extradata, limitedStack, limitedSells);
|
super(id, userId, item, extradata, limitedStack, limitedSells);
|
||||||
|
this.setExtradata("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -18,11 +18,13 @@ public class InteractionPressurePlate extends HabboItem
|
|||||||
public InteractionPressurePlate(ResultSet set, Item baseItem) throws SQLException
|
public InteractionPressurePlate(ResultSet set, Item baseItem) throws SQLException
|
||||||
{
|
{
|
||||||
super(set, baseItem);
|
super(set, baseItem);
|
||||||
|
this.setExtradata("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
public InteractionPressurePlate(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
public InteractionPressurePlate(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
||||||
{
|
{
|
||||||
super(id, userId, item, extradata, limitedStack, limitedSells);
|
super(id, userId, item, extradata, limitedStack, limitedSells);
|
||||||
|
this.setExtradata("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -18,11 +18,13 @@ public abstract class InteractionPushable extends InteractionDefault {
|
|||||||
public InteractionPushable(ResultSet set, Item baseItem) throws SQLException
|
public InteractionPushable(ResultSet set, Item baseItem) throws SQLException
|
||||||
{
|
{
|
||||||
super(set, baseItem);
|
super(set, baseItem);
|
||||||
|
this.setExtradata("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
public InteractionPushable(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
public InteractionPushable(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
||||||
{
|
{
|
||||||
super(id, userId, item, extradata, limitedStack, limitedSells);
|
super(id, userId, item, extradata, limitedStack, limitedSells);
|
||||||
|
this.setExtradata("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -21,11 +21,13 @@ public class InteractionRoller extends HabboItem
|
|||||||
public InteractionRoller(ResultSet set, Item baseItem) throws SQLException
|
public InteractionRoller(ResultSet set, Item baseItem) throws SQLException
|
||||||
{
|
{
|
||||||
super(set, baseItem);
|
super(set, baseItem);
|
||||||
|
this.setExtradata("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
public InteractionRoller(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
public InteractionRoller(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
||||||
{
|
{
|
||||||
super(id, userId, item, extradata, limitedStack, limitedSells);
|
super(id, userId, item, extradata, limitedStack, limitedSells);
|
||||||
|
this.setExtradata("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -30,12 +30,14 @@ public class InteractionTeleport extends HabboItem
|
|||||||
{
|
{
|
||||||
super(set, baseItem);
|
super(set, baseItem);
|
||||||
walkable = baseItem.allowWalk();
|
walkable = baseItem.allowWalk();
|
||||||
|
this.setExtradata("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
public InteractionTeleport(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
public InteractionTeleport(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
||||||
{
|
{
|
||||||
super(id, userId, item, extradata, limitedStack, limitedSells);
|
super(id, userId, item, extradata, limitedStack, limitedSells);
|
||||||
walkable = item.allowWalk();
|
walkable = item.allowWalk();
|
||||||
|
this.setExtradata("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -20,11 +20,13 @@ public abstract class InteractionWired extends HabboItem
|
|||||||
InteractionWired(ResultSet set, Item baseItem) throws SQLException
|
InteractionWired(ResultSet set, Item baseItem) throws SQLException
|
||||||
{
|
{
|
||||||
super(set, baseItem);
|
super(set, baseItem);
|
||||||
|
this.setExtradata("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
InteractionWired(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
InteractionWired(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
||||||
{
|
{
|
||||||
super(id, userId, item, extradata, limitedStack, limitedSells);
|
super(id, userId, item, extradata, limitedStack, limitedSells);
|
||||||
|
this.setExtradata("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
public abstract boolean execute(RoomUnit roomUnit, Room room, Object[] stuff);
|
public abstract boolean execute(RoomUnit roomUnit, Room room, Object[] stuff);
|
||||||
|
@ -13,11 +13,13 @@ public abstract class InteractionGameScoreboard extends InteractionGameTeamItem
|
|||||||
protected InteractionGameScoreboard(ResultSet set, Item baseItem, GameTeamColors teamColor) throws SQLException
|
protected InteractionGameScoreboard(ResultSet set, Item baseItem, GameTeamColors teamColor) throws SQLException
|
||||||
{
|
{
|
||||||
super(set, baseItem, teamColor);
|
super(set, baseItem, teamColor);
|
||||||
|
this.setExtradata("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
protected InteractionGameScoreboard(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells, GameTeamColors teamColor)
|
protected InteractionGameScoreboard(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells, GameTeamColors teamColor)
|
||||||
{
|
{
|
||||||
super(id, userId, item, extradata, limitedStack, limitedSells, teamColor);
|
super(id, userId, item, extradata, limitedStack, limitedSells, teamColor);
|
||||||
|
this.setExtradata("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -14,11 +14,13 @@ public class InteractionBattleBanzaiSphere extends HabboItem
|
|||||||
public InteractionBattleBanzaiSphere(ResultSet set, Item baseItem) throws SQLException
|
public InteractionBattleBanzaiSphere(ResultSet set, Item baseItem) throws SQLException
|
||||||
{
|
{
|
||||||
super(set, baseItem);
|
super(set, baseItem);
|
||||||
|
this.setExtradata("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
public InteractionBattleBanzaiSphere(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
public InteractionBattleBanzaiSphere(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
||||||
{
|
{
|
||||||
super(id, userId, item, extradata, limitedStack, limitedSells);
|
super(id, userId, item, extradata, limitedStack, limitedSells);
|
||||||
|
this.setExtradata("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -19,11 +19,13 @@ public class InteractionBattleBanzaiTeleporter extends HabboItem
|
|||||||
public InteractionBattleBanzaiTeleporter(ResultSet set, Item baseItem) throws SQLException
|
public InteractionBattleBanzaiTeleporter(ResultSet set, Item baseItem) throws SQLException
|
||||||
{
|
{
|
||||||
super(set, baseItem);
|
super(set, baseItem);
|
||||||
|
this.setExtradata("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
public InteractionBattleBanzaiTeleporter(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
public InteractionBattleBanzaiTeleporter(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
||||||
{
|
{
|
||||||
super(id, userId, item, extradata, limitedStack, limitedSells);
|
super(id, userId, item, extradata, limitedStack, limitedSells);
|
||||||
|
this.setExtradata("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -21,11 +21,13 @@ public class InteractionBattleBanzaiTile extends HabboItem
|
|||||||
public InteractionBattleBanzaiTile(ResultSet set, Item baseItem) throws SQLException
|
public InteractionBattleBanzaiTile(ResultSet set, Item baseItem) throws SQLException
|
||||||
{
|
{
|
||||||
super(set, baseItem);
|
super(set, baseItem);
|
||||||
|
this.setExtradata("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
public InteractionBattleBanzaiTile(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
public InteractionBattleBanzaiTile(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
||||||
{
|
{
|
||||||
super(id, userId, item, extradata, limitedStack, limitedSells);
|
super(id, userId, item, extradata, limitedStack, limitedSells);
|
||||||
|
this.setExtradata("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -22,11 +22,13 @@ public class InteractionFreezeBlock extends HabboItem
|
|||||||
public InteractionFreezeBlock(ResultSet set, Item baseItem) throws SQLException
|
public InteractionFreezeBlock(ResultSet set, Item baseItem) throws SQLException
|
||||||
{
|
{
|
||||||
super(set, baseItem);
|
super(set, baseItem);
|
||||||
|
this.setExtradata("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
public InteractionFreezeBlock(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
public InteractionFreezeBlock(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
||||||
{
|
{
|
||||||
super(id, userId, item, extradata, limitedStack, limitedSells);
|
super(id, userId, item, extradata, limitedStack, limitedSells);
|
||||||
|
this.setExtradata("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -14,11 +14,13 @@ public class InteractionFreezeExitTile extends HabboItem
|
|||||||
public InteractionFreezeExitTile(ResultSet set, Item baseItem) throws SQLException
|
public InteractionFreezeExitTile(ResultSet set, Item baseItem) throws SQLException
|
||||||
{
|
{
|
||||||
super(set, baseItem);
|
super(set, baseItem);
|
||||||
|
this.setExtradata("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
public InteractionFreezeExitTile(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
public InteractionFreezeExitTile(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
||||||
{
|
{
|
||||||
super(id, userId, item, extradata, limitedStack, limitedSells);
|
super(id, userId, item, extradata, limitedStack, limitedSells);
|
||||||
|
this.setExtradata("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -20,11 +20,13 @@ public class InteractionFreezeTile extends HabboItem
|
|||||||
public InteractionFreezeTile(ResultSet set, Item baseItem) throws SQLException
|
public InteractionFreezeTile(ResultSet set, Item baseItem) throws SQLException
|
||||||
{
|
{
|
||||||
super(set, baseItem);
|
super(set, baseItem);
|
||||||
|
this.setExtradata("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
public InteractionFreezeTile(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
public InteractionFreezeTile(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
||||||
{
|
{
|
||||||
super(id, userId, item, extradata, limitedStack, limitedSells);
|
super(id, userId, item, extradata, limitedStack, limitedSells);
|
||||||
|
this.setExtradata("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user