Add basic whitewash

This commit is contained in:
Andrew-71 2024-04-11 12:19:22 +03:00
parent 8504a2c4c4
commit d5b0b49396
4 changed files with 10 additions and 1 deletions

View file

@ -21,7 +21,7 @@
* Yellow-red linoleum - missing
* Beige linoleum - missing
* Whitewash birch door - missing
* Po-2 wall and crate...? - missing
* Po-2 wall and crate...? - missing
* Rusty blue iron bars - missing
* Most wallpaper - missing
* Whitewash window - missing

View file

@ -22,6 +22,8 @@ public class NSE_Items extends NSE_BaseRegistration {
// Actually works on wood
public static final Item SCREWDRIVER = new Item(new Item.Settings());
public static final Item WHITEWASH_ITEM = new Item(new Item.Settings());
public static final FoodComponent CONCENTRATE_FC = (new FoodComponent.Builder()).hunger(5).saturationModifier(1.0F).alwaysEdible().build();
public static final Item CONCENTRATE = new Item(new Item.Settings().food(CONCENTRATE_FC));
public static final FoodComponent COCONUT_FC = (new FoodComponent.Builder()).hunger(4).saturationModifier(1.2F).statusEffect(new StatusEffectInstance(StatusEffects.REGENERATION, 100, 1), 1.0F).statusEffect(new StatusEffectInstance(StatusEffects.ABSORPTION, 2400, 0), 1.0F).alwaysEdible().build();
@ -63,6 +65,7 @@ public class NSE_Items extends NSE_BaseRegistration {
registerItem("concentrate", () -> CONCENTRATE, NSE_ITEMS_TAB);
registerItem("antenna", () -> ANTENNA, NSE_ITEMS_TAB);
registerItem("screwdriver", () -> SCREWDRIVER, NSE_ITEMS_TAB);
registerItem("whitewash_item", () -> WHITEWASH_ITEM, NSE_ITEMS_TAB);
registerItem("makhorka", ()-> MAKHORKA, NSE_ITEMS_TAB);
registerItem("cigarette", ()-> CIGARETTE, NSE_ITEMS_TAB);
registerItem("duchess_cigarette", ()-> DUCHESS_CIGARETTE, NSE_ITEMS_TAB);

View file

@ -0,0 +1,6 @@
{
"parent": "item/generated",
"textures": {
"layer0": "new_soviet:item/whitewash"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 378 B