Comments (3)
I believe "Occurs in groups around high elevations"
triggers your displeasure - you're asking for the specialized generator that knows Hill is a TerrainFeature... See raiseMountainsAndHills
. You'll need to remove that unique and thereby decouple it from elevation, and find a humidity/temperature niche for it or there won't be any.
Or rewrite raiseMountainsAndHills
, cellularHills
and possibly cellularMountainRanges
too for consistency.
(raiseMountainsAndHills
has a horrifying bug - it logs the found mountain terrain's name when it intends to log the hill name!)
from unciv.
I had hoped that the unique for occurring in groups would work like the unique for occurring in chains, but I guess not. Do you think it's even feasible doing all that rewriting, to say nothing of whether or not it's desirable?
from unciv.
would work like the unique for occurring in chains
It does, in that it's hardcoded to expect a specific terrain type. Chains1 will probably fail miserably should you attach it to a TerrainFeature...
I experimented yesterday trying a generalization for both that uses dynamically built lambdas for the actual terrain modification, so both could work with both terrain types, but it got endlessy complicated very quickly. Might be better as "ElevationAgent" class hierarchy... Anyway, not much fun in coding.
Footnotes
-
Not the 'Kill Six Billion Demons' character ↩
from unciv.
Related Issues (20)
- Luxury trade offer ends the same turn it's made HOT 9
- StackOverflowError when building on unbuildable terrain (customs house on snow) HOT 1
- Game stuck on loading turn
- Connect Road Through Mountains
- Crashes repeatedly HOT 2
- Error when loading multiplayer game (for current player)
- On Next Turn: ConcurrentModificationException in updateDiplomaticRelationshipForCityState
- UX improvement: automatically closing battle windows when u have done all of ur attack using units with move after attacking ability
- Crash on Android upon "Next turn" HOT 2
- StackOverflowError on "Next Turn" HOT 3
- Crash at EoT HOT 5
- event didn't work HOT 1
- Bug: Trade Negotiations survive declarations of war HOT 1
- Bug: Portrait mode hides and repeats entries in the policies screen
- Raze City prompt not going away HOT 2
- Bug: Repeated trade cut-short and reoffered every turn HOT 3
- Translation generator can't parse Personality json HOT 4
- Feature request: Improve UI when there are too many kinds of strategic resource HOT 6
- Can't create window HOT 2
- Mods with maps bug new game creation HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unciv.