[MOD][All Versions] EndPieces 1.09 A20 Update

I’ve updated praise.

4 Likes

This mod is just great. Thank’s a lot to everyone involved.

1 Like

Hi,

I want to try this awesome mod, but I´m unable to install it… which is the correct branch i should download from github? I’m playing alpha 19

Thanks

should work with a19 - but you must activate it in the settings :wink:

works very well in alpha 19, hard to play without it now as the 10 piece fence is just so useful, and the fact that you can have a fence 10 fence posts long which only counts as 1 item towards your inventory cap is great as well

3 Likes

Outdated does not work

Hi,

Have you got the mod correctly installed first? Is anything showing in the menus?

1 Like

@TomMartow, if it works in A20 please more this back to #modding:current-mods.

It can’t be activated.

@TomMartow I just tested the Github download myself - it’s definitely out of date. Mod version should be 3, you may want to check that nothing else is broken.

Out of Date i cant activate!

The mod now works, but I’m having trouble with the icons displaying in the Place Item menu and can’t for the life of me work it out.

I have to learn how to update this mod everytime an update comes out, I don’t mess with this game as much as I’m waiting for the release.

2 Likes

I just had the problem and got the answer from Wiese like 5 minutes ago.

In your “[…]ghost.json” files you need to add "category": "[insert category name]"
like in this:
"entity_data": { "stonehearth:catalog": { "description": "i18n(raze_decorations:entities.pike_stand.pike_stand_ghost.description)", "icon": "file(pike_holder.png)", "display_name": "i18n(raze_decorations:entities.pike_stand.pike_stand_ghost.display_name)", "material_tags": "decoration crafted stockpile_decoration" "category": "decoration" } }

like i remember you must add a categorie in the ghostfiles and controll the iconic for the picture xD

if you have probs take my patrol_points for compare xD

I downloaded the Balista mod to compare and found the new category in the Ghost file.

I already tried changing it implementing that into my mod but I’ve still got no luck.

Now I’ve tried it again with no luck again, this is my ghost file for the c piece.

{
"mixins": "stonehearth:mixins:placed_object",
"components": {
	"model_variants": {
		"default": {
			"models": [
				"file(fence_cpiece.qb)"
			]
		}
	},
	"entity_data": {
		"stonehearth:catalog": {
			"display_name": "i18n(endpieces:entities.construction.fence_cpiece_ghost.name)",
			"description": "i18n(endpieces:entities.construction.fence_cpiece_ghost.description)",
			"icon": "file(fence_cpiece.png)",
			"category": "defense",
			"material_tags": "wood defense crafted fence stockpile_defense"
		},
		"stonehearth:material": {
			"tags": "wood defense crafted fence stockpile_defense"
		},
		"mob": {
			"region_origin": {
				"x": 0.5,
				"y": 0,
				"z": 0.5
			},
			"model_origin": {
				"x": -1,
				"y": 0,
				"z": -1
			}
		}
	}
}

for ghost:
so the material_tags must be removed

{
“mixins”: “stonehearth:mixins:placed_object”,
“components”: {
“model_variants”: {
“default”: {
“models”: [
“file(patrol_point.qb)”
]
}
},
“stonehearth:material”: {
“tags”: “wood cloth decoration stockpile_decoration”
},
“mob”: {
“model_origin”: { “x”: 0, “y”: 0, “z”: 0 },
“region_origin”: { “x”: 0.5, “y”: 0, “z”: 0.5 }
}
},
“entity_data”: {
“stonehearth:catalog”: {
“description”: “i18n(patrol_mod:entities.patrol_point.patrol_point_ghost.description)”,
“icon”: “file(patrol_point.png)”,
“display_name”: “i18n(patrol_mod:entities.patrol_point.patrol_point_ghost.display_name)”,
“category”: “decoration”
}
}
}

for iconic:

here you need to change the entity data

{
“mixins”: “stonehearth:mixins:item_properties”,
“type”: “entity”,
“components”: {
“model_variants”: {
“default”: {
“models”: [
“file(patrol_point_iconic.qb)”
]
}
},
“mob”: {
“model_origin”: { “x”: 0, “y”: 0, “z”: 0 }
}
},
“entity_data”: {
“stonehearth:catalog”: {
“is_item”: true,
“category”: “decoration”
}
}
}

Still can’t be applying this correctly because the icon doesn’t show still.

Iconic:

{
"mixins": "stonehearth:mixins:item_properties",
"type": "entity",
"components": {
	"model_variants": {
		"default": {
			"models": [
				"file(fence_cpiece_iconic.qb)"
			]
		}
	},
	"entity_data": {
		"stonehearth:catalog": {
			"is_item": true,
			"category": "defense",
			"display_name": "i18n(endpieces:entities.construction.fence_cpiece_ghost.name)",
			"description": "i18n(endpieces:entities.construction.fence_cpiece_ghost.description)",
			"icon": "file(fence_cpiece.png)"
		},
		"mob": {
			"model_origin": {
				"x": 0.0,
				"y": 0,
				"z": 0.0
			}
		}
	}
}
}

Ghost

{
"mixins": "stonehearth:mixins:placed_object",
"components": {
	"model_variants": {
		"default": {
			"models": [
				"file(fence_cpiece.qb)"
			]
		}
	},
	"entity_data": {
		"stonehearth:catalog": {
			"display_name": "i18n(endpieces:entities.construction.fence_cpiece_ghost.name)",
			"description": "i18n(endpieces:entities.construction.fence_cpiece_ghost.description)",
			"icon": "file(fence_cpiece.png)",
			"category": "defense"
		},
		"stonehearth:material": {
			"tags": "wood defense crafted fence stockpile_defense"
		},
		"mob": {
			"region_origin": {
				"x": 0.5,
				"y": 0,
				"z": 0.5
			},
			"model_origin": {
				"x": -1,
				"y": 0,
				"z": -1
			}
		}
	}
}
}

ok send me one file i will make it for you so you can compare them -.- xD

@TomMartow When I try and place down an item it is not allowing me to select it from the place an item menu?

Currently, there is problem where the icons won’t show up in the place and item menu, you have to select them from the stockpile. I am looking for a fix.