grist: make textures generated through a makefile
This commit is contained in:
@ -218,11 +218,11 @@ Grist.prototype.toJson = function() {
|
||||
};
|
||||
|
||||
Grist.prototype.itemTexture = function() {
|
||||
return `malloc:item/grist_${this.tier.name}`;
|
||||
return `malloc:item/grist_${this.tier.name}_${this.element.name}`;
|
||||
};
|
||||
|
||||
Grist.prototype.blockTexture = function() {
|
||||
return 'malloc:block/grist';
|
||||
return `malloc:block/grist_${this.tier.name}_${this.element.name}`;
|
||||
};
|
||||
|
||||
global.Grist = Grist;
|
Reference in New Issue
Block a user