Need a small luacode pls

Eiskalt

Chieftain
Joined
Jul 28, 2013
Messages
32
I need a small right luacode pls because my luacoderfriend is currently busy. The UU and UB is already finished but I like to have an other new Trait. My new trait is this:

Each city has an additional random metallic luxuryressource like gold. buildings which need the ressource can be built. Each lake field in the city give an additional random waterressource like fish to the city which owns the lakefield.

The luacode from my friend is in the attachment.
 

Attachments

It shouldn't be TOO hard to do... Just a couple of questions:

a) Do you want each city to have a copy of one of the metal luxury resources? (Gold, silver, and copper, I think?) Or did you want a source to appear nearby the city?

b) Would only fish appear in lakes, or would other luxuries potential appear?
 
Ty for helping me:

1. It should be automatically to each city so I think you mean with this the copy.

2. All water ressources like fish, crabs etc. are automatically in the lake city.
 
Ty for helping me:

1. It should be automatically to each city so I think you mean with this the copy.

2. All water ressources like fish, crabs etc. are automatically in the lake city.

I think I can do the first one, although it'll require some dummy buildings in XML to provide the required resources.

For the second half, do you mean that the lake city would automatically have Crabs or Whales? Fish aren't a luxury resource, so spawning a copy in the city will provide no bonuses -- the only bonuses from Fish are the Food bonus you get from working the tile it's on...

Did you want resources like Pearls or Whales to come from Lake tiles too?
 
Back
Top Bottom