
emu.grasscutter.game.props.ItemUseAction.ItemUseUnlockFurnitureFormula Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grasscutter Show documentation
Show all versions of grasscutter Show documentation
A server software reimplementation for an anime game.
package emu.grasscutter.game.props.ItemUseAction;
import emu.grasscutter.game.props.ItemUseOp;
public class ItemUseUnlockFurnitureFormula extends ItemUseInt {
@Override
public ItemUseOp getItemUseOp() {
return ItemUseOp.ITEM_USE_UNLOCK_FURNITURE_FORMULA;
}
public ItemUseUnlockFurnitureFormula(String[] useParam) {
super(useParam);
}
@Override
public boolean useItem(UseItemParams params) {
return true;
}
@Override
public boolean postUseItem(UseItemParams params) {
return params.player.getFurnitureManager().unlockFurnitureFormula(this.i);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy