Dan

Moderator
I am working on adding houses into the Carpentry menu.

I figure I have two options,

Option 1 - Lower the weight of Boards and ingots and stone by a lot (not what I exactly want to do)

or

Option 2 - Is it possible to make it so I can have it checked for, say, a commodity deed filled with 20,000 boards?
 
The old Government system had a DefArchitect setup for building the separate componants for wall, floor & roof units which were then used to "build" houses. Maybe that will help some.
 

Attachments

  • Government System.rar
    278.4 KB · Views: 4
Really just trying to make it so one of the resources needed in the craft menu would be, say, 60,000 Iron ingots in a commodity deed. Is this possible with the current craft system or would I need to make a lot of edits? Then the player can simply craft the pre aos houses.

Thanks for any help.
 
My house-building system uses a Foreman, who takes parts from you as you collect them. You build the wall, window and roof sections from the crafting menu, then give those sections to the Foreman. If I were you, I would do something similar, use the commodity deeds with the foreman, who would then let you know when you had enough resources to build the house from the HousePlans.
 
If you can figure out the exact call for the filled deed, you could maybe do something like this.
Code:
AddRes(index, typeof(FilledCommodityDeed), "FilledCommodityDeed", 1, "You dont have a filled commodity deed");
 
Hmm as far as I know it is not possible by default,

you could probably either add a new AddCraft method that allows for a commodity deed type, the commodity type and the amount of it.
or you could maybe let them exchange it for an "IronToken" or somethat that they can trade in from a commodity deed with 60000 ingots.
 

Active Shards

Donations

Total amount
$50.00
Goal
$1,000.00
Back