mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-18 01:46:44 +01:00
feat:cooking food ingredient(aka:compound) implementation (#1858)
* feat:cooking food ingredient(aka:compound) implementation Implement food ingredient(compound) feature.Need a thorough test and still has some work to do. * small bug fix;implement fish processing * Update src/main/java/emu/grasscutter/server/packet/send/PacketItemAddHintNotify.java Co-authored-by: Luke H-W <Birdulon@users.noreply.github.com> * Update Inventory.java * Update Inventory.java Co-authored-by: Luke H-W <Birdulon@users.noreply.github.com>
This commit is contained in:
@@ -6,44 +6,23 @@ import emu.grasscutter.data.GameResource;
|
||||
import emu.grasscutter.data.ResourceType;
|
||||
import emu.grasscutter.data.ResourceType.LoadPriority;
|
||||
import emu.grasscutter.data.common.ItemParamData;
|
||||
import emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam;
|
||||
import lombok.Getter;
|
||||
|
||||
@ResourceType(name = {"CookRecipeExcelConfigData.json"}, loadPriority = LoadPriority.LOW)
|
||||
public class CookRecipeData extends GameResource {
|
||||
private int id;
|
||||
|
||||
private int rankLevel;
|
||||
private boolean isDefaultUnlocked;
|
||||
private int maxProficiency;
|
||||
@Getter private int rankLevel;
|
||||
@Getter boolean isDefaultUnlocked;
|
||||
@Getter int maxProficiency;
|
||||
|
||||
private List<ItemParamData> qualityOutputVec;
|
||||
private List<ItemParamData> inputVec;
|
||||
@Getter List<ItemParamData> qualityOutputVec;
|
||||
@Getter List<ItemParamData> inputVec;
|
||||
|
||||
@Override
|
||||
public int getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public int getRankLevel() {
|
||||
return this.rankLevel;
|
||||
}
|
||||
|
||||
public boolean isDefaultUnlocked() {
|
||||
return this.isDefaultUnlocked;
|
||||
}
|
||||
|
||||
public int getMaxProficiency() {
|
||||
return this.maxProficiency;
|
||||
}
|
||||
|
||||
public List<ItemParamData> getQualityOutputVec() {
|
||||
return this.qualityOutputVec;
|
||||
}
|
||||
|
||||
public List<ItemParamData> getInputVec() {
|
||||
return this.inputVec;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onLoad() {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user