mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-23 07:20:50 +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
|
||||
{
|
||||
super(set, baseItem);
|
||||
this.setExtradata("0");
|
||||
}
|
||||
|
||||
public InteractionCannon(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
||||
{
|
||||
super(id, userId, item, extradata, limitedStack, limitedSells);
|
||||
this.setExtradata("0");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -16,11 +16,13 @@ public class InteractionEffectGiver extends InteractionDefault
|
||||
public InteractionEffectGiver(ResultSet set, Item baseItem) throws SQLException
|
||||
{
|
||||
super(set, baseItem);
|
||||
this.setExtradata("0");
|
||||
}
|
||||
|
||||
public InteractionEffectGiver(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
||||
{
|
||||
super(id, userId, item, extradata, limitedStack, limitedSells);
|
||||
this.setExtradata("0");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -17,11 +17,13 @@ public class InteractionFXBox extends InteractionDefault
|
||||
public InteractionFXBox(ResultSet set, Item baseItem) throws SQLException
|
||||
{
|
||||
super(set, baseItem);
|
||||
this.setExtradata("0");
|
||||
}
|
||||
|
||||
public InteractionFXBox(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
||||
{
|
||||
super(id, userId, item, extradata, limitedStack, limitedSells);
|
||||
this.setExtradata("0");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -17,11 +17,13 @@ public class InteractionGuildGate extends InteractionGuildFurni
|
||||
public InteractionGuildGate(ResultSet set, Item baseItem) throws SQLException
|
||||
{
|
||||
super(set, baseItem);
|
||||
this.setExtradata("0");
|
||||
}
|
||||
|
||||
public InteractionGuildGate(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
||||
{
|
||||
super(id, userId, item, extradata, limitedStack, limitedSells);
|
||||
this.setExtradata("0");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -17,11 +17,13 @@ public class InteractionHabboClubGate extends InteractionGate
|
||||
public InteractionHabboClubGate(ResultSet set, Item baseItem) throws SQLException
|
||||
{
|
||||
super(set, baseItem);
|
||||
this.setExtradata("0");
|
||||
}
|
||||
|
||||
public InteractionHabboClubGate(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
||||
{
|
||||
super(id, userId, item, extradata, limitedStack, limitedSells);
|
||||
this.setExtradata("0");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -18,11 +18,13 @@ public class InteractionHopper extends HabboItem
|
||||
public InteractionHopper(ResultSet set, Item baseItem) throws SQLException
|
||||
{
|
||||
super(set, baseItem);
|
||||
this.setExtradata("0");
|
||||
}
|
||||
|
||||
public InteractionHopper(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
||||
{
|
||||
super(id, userId, item, extradata, limitedStack, limitedSells);
|
||||
this.setExtradata("0");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -24,11 +24,13 @@ public class InteractionObstacle extends HabboItem
|
||||
public InteractionObstacle(ResultSet set, Item baseItem) throws SQLException
|
||||
{
|
||||
super(set, baseItem);
|
||||
this.setExtradata("0");
|
||||
}
|
||||
|
||||
public InteractionObstacle(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
||||
{
|
||||
super(id, userId, item, extradata, limitedStack, limitedSells);
|
||||
this.setExtradata("0");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -23,11 +23,13 @@ public class InteractionOneWayGate extends HabboItem
|
||||
public InteractionOneWayGate(ResultSet set, Item baseItem) throws SQLException
|
||||
{
|
||||
super(set, baseItem);
|
||||
this.setExtradata("0");
|
||||
}
|
||||
|
||||
public InteractionOneWayGate(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
||||
{
|
||||
super(id, userId, item, extradata, limitedStack, limitedSells);
|
||||
this.setExtradata("0");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -19,11 +19,13 @@ public class InteractionPetToy extends InteractionDefault
|
||||
public InteractionPetToy(ResultSet set, Item baseItem) throws SQLException
|
||||
{
|
||||
super(set, baseItem);
|
||||
this.setExtradata("0");
|
||||
}
|
||||
|
||||
public InteractionPetToy(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
||||
{
|
||||
super(id, userId, item, extradata, limitedStack, limitedSells);
|
||||
this.setExtradata("0");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -18,11 +18,13 @@ public class InteractionPressurePlate extends HabboItem
|
||||
public InteractionPressurePlate(ResultSet set, Item baseItem) throws SQLException
|
||||
{
|
||||
super(set, baseItem);
|
||||
this.setExtradata("0");
|
||||
}
|
||||
|
||||
public InteractionPressurePlate(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
||||
{
|
||||
super(id, userId, item, extradata, limitedStack, limitedSells);
|
||||
this.setExtradata("0");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -18,11 +18,13 @@ public abstract class InteractionPushable extends InteractionDefault {
|
||||
public InteractionPushable(ResultSet set, Item baseItem) throws SQLException
|
||||
{
|
||||
super(set, baseItem);
|
||||
this.setExtradata("0");
|
||||
}
|
||||
|
||||
public InteractionPushable(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
||||
{
|
||||
super(id, userId, item, extradata, limitedStack, limitedSells);
|
||||
this.setExtradata("0");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -21,11 +21,13 @@ public class InteractionRoller extends HabboItem
|
||||
public InteractionRoller(ResultSet set, Item baseItem) throws SQLException
|
||||
{
|
||||
super(set, baseItem);
|
||||
this.setExtradata("0");
|
||||
}
|
||||
|
||||
public InteractionRoller(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
||||
{
|
||||
super(id, userId, item, extradata, limitedStack, limitedSells);
|
||||
this.setExtradata("0");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -30,12 +30,14 @@ public class InteractionTeleport extends HabboItem
|
||||
{
|
||||
super(set, baseItem);
|
||||
walkable = baseItem.allowWalk();
|
||||
this.setExtradata("0");
|
||||
}
|
||||
|
||||
public InteractionTeleport(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
||||
{
|
||||
super(id, userId, item, extradata, limitedStack, limitedSells);
|
||||
walkable = item.allowWalk();
|
||||
this.setExtradata("0");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -20,11 +20,13 @@ public abstract class InteractionWired extends HabboItem
|
||||
InteractionWired(ResultSet set, Item baseItem) throws SQLException
|
||||
{
|
||||
super(set, baseItem);
|
||||
this.setExtradata("0");
|
||||
}
|
||||
|
||||
InteractionWired(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
||||
{
|
||||
super(id, userId, item, extradata, limitedStack, limitedSells);
|
||||
this.setExtradata("0");
|
||||
}
|
||||
|
||||
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
|
||||
{
|
||||
super(set, baseItem, teamColor);
|
||||
this.setExtradata("0");
|
||||
}
|
||||
|
||||
protected InteractionGameScoreboard(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells, GameTeamColors teamColor)
|
||||
{
|
||||
super(id, userId, item, extradata, limitedStack, limitedSells, teamColor);
|
||||
this.setExtradata("0");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -14,11 +14,13 @@ public class InteractionBattleBanzaiSphere extends HabboItem
|
||||
public InteractionBattleBanzaiSphere(ResultSet set, Item baseItem) throws SQLException
|
||||
{
|
||||
super(set, baseItem);
|
||||
this.setExtradata("0");
|
||||
}
|
||||
|
||||
public InteractionBattleBanzaiSphere(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
||||
{
|
||||
super(id, userId, item, extradata, limitedStack, limitedSells);
|
||||
this.setExtradata("0");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -19,11 +19,13 @@ public class InteractionBattleBanzaiTeleporter extends HabboItem
|
||||
public InteractionBattleBanzaiTeleporter(ResultSet set, Item baseItem) throws SQLException
|
||||
{
|
||||
super(set, baseItem);
|
||||
this.setExtradata("0");
|
||||
}
|
||||
|
||||
public InteractionBattleBanzaiTeleporter(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
||||
{
|
||||
super(id, userId, item, extradata, limitedStack, limitedSells);
|
||||
this.setExtradata("0");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -21,11 +21,13 @@ public class InteractionBattleBanzaiTile extends HabboItem
|
||||
public InteractionBattleBanzaiTile(ResultSet set, Item baseItem) throws SQLException
|
||||
{
|
||||
super(set, baseItem);
|
||||
this.setExtradata("0");
|
||||
}
|
||||
|
||||
public InteractionBattleBanzaiTile(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
||||
{
|
||||
super(id, userId, item, extradata, limitedStack, limitedSells);
|
||||
this.setExtradata("0");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -22,11 +22,13 @@ public class InteractionFreezeBlock extends HabboItem
|
||||
public InteractionFreezeBlock(ResultSet set, Item baseItem) throws SQLException
|
||||
{
|
||||
super(set, baseItem);
|
||||
this.setExtradata("0");
|
||||
}
|
||||
|
||||
public InteractionFreezeBlock(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
||||
{
|
||||
super(id, userId, item, extradata, limitedStack, limitedSells);
|
||||
this.setExtradata("0");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -14,11 +14,13 @@ public class InteractionFreezeExitTile extends HabboItem
|
||||
public InteractionFreezeExitTile(ResultSet set, Item baseItem) throws SQLException
|
||||
{
|
||||
super(set, baseItem);
|
||||
this.setExtradata("0");
|
||||
}
|
||||
|
||||
public InteractionFreezeExitTile(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
||||
{
|
||||
super(id, userId, item, extradata, limitedStack, limitedSells);
|
||||
this.setExtradata("0");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -20,11 +20,13 @@ public class InteractionFreezeTile extends HabboItem
|
||||
public InteractionFreezeTile(ResultSet set, Item baseItem) throws SQLException
|
||||
{
|
||||
super(set, baseItem);
|
||||
this.setExtradata("0");
|
||||
}
|
||||
|
||||
public InteractionFreezeTile(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells)
|
||||
{
|
||||
super(id, userId, item, extradata, limitedStack, limitedSells);
|
||||
this.setExtradata("0");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user