Jump to content

Mauryas Wicker Basket


Veridagorin
 Share

Recommended Posts

@Stan`  @wowgetoffyourcellphone

By removing "{ "civ": "maur" }" from "simulation\data\technologies\gather_wicker_baskets_maur.json", I was able to eliminate Wicker Baskets as a civilization-specific technology from the Civilization Overview section without breaking its functionality in the game (it still appears as a pair tech of Ahimsa and produces the desired effects).
However, I’m not sure if this is the proper way to fix it. Could you confirm?
Thanks

Original file

{
	"pair": "pair_gather_food_maur",
	"genericName": "Wicker Baskets",
	"description": "Equip your foragers with wicker baskets for foraging.",
	"cost": {
		"wood": 100
	},
	"requirements": {
		"all": [
			{ "tech": "phase_village" },
			{ "civ": "maur" }
		]
	},
	"icon": "gather_basket.png",
	"researchTime": 40,
	"tooltip": "Workers +50% fruit gather rate.",
	"modifications": [
		{ "value": "ResourceGatherer/Rates/food.fruit", "multiply": 1.5 }
	],
	"affects": ["Worker"],
	"soundComplete": "interface/alarm/alarm_upgradearmory.xml"
}

Edited file:
 

{
	"pair": "pair_gather_food_maur",
	"genericName": "Wicker Baskets",
	"description": "Equip your foragers with wicker baskets for foraging.",
	"cost": {
		"wood": 100
	},
	"requirements": {
		"all": [
			{ "tech": "phase_village" }
		]
	},
	"icon": "gather_basket.png",
	"researchTime": 40,
	"tooltip": "Workers +50% fruit gather rate.",
	"modifications": [
		{ "value": "ResourceGatherer/Rates/food.fruit", "multiply": 1.5 }
	],
	"affects": ["Worker"],
	"soundComplete": "interface/alarm/alarm_upgradearmory.xml"
}



image.png.5b60f943a7e7c4d24705f965f1c07fd4.png
 

  • Like 1
Link to comment
Share on other sites

On 23/09/2025 at 12:52 AM, guerringuerrin said:

Doesn't look like the correct way to accomplish this, tho

18 minutes ago, guerringuerrin said:

Maybe, @Vantha can help me with this?

@guerringuerrin your hack is perfectly suited for this. As you said, the likelihood of not having Wicker Baskets researched until you can capture an enemy maury farmstead then research Ahimsa is very very edge case... And wouldn't even break anything.

If you really want to hustle it, here two 'long-term' improvements ideas:

  • Support template attribute to mark as 'non-civ specific' techs and structure to be ignored in civ overview
  • Support paired techs to use existing 'normal' techs (Ideal)
Link to comment
Share on other sites

33 minutes ago, Atrik said:

@guerringuerrin your hack is perfectly suited for this. As you said, the likelihood of not having Wicker Baskets researched until you can capture an enemy maury farmstead then research Ahimsa is very very edge case... And wouldn't even break anything.

I understand. That doesn't happen anyway, even without investigating WickerBasket.

image.thumb.png.65b727338c1b8bdaca64d4d4297ddfbd.png

 

41 minutes ago, Atrik said:

If you really want to hustle it, here two 'long-term' improvements ideas:

  • Support template attribute to mark as 'non-civ specific' techs and structure to be ignored in civ overview
  • Support paired techs to use existing 'normal' techs (Ideal)

 

Thanks!

Link to comment
Share on other sites

14 minutes ago, guerringuerrin said:

I understand. That doesn't happen anyway, even without investigating WickerBasket.

Oh ok, I misunderstood what you meant previously then..
So if this create 0 issues, others techs that would do something similar wouldn't have either, in mods or in future balancing stuff, I guess you already have the proper solution then.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...