Commit Graph

27 Commits

Author SHA1 Message Date
3a24eab0f0 Cache technology modifiers based on original value. Patch from sanderd17 based on work by Spahbod. Fixes #2045.
This was SVN commit r14205.
2013-11-17 18:24:04 +00:00
c62cc3ee44 rename technology modifier 'multiplier' to 'multiply' for consistency with auras, and it looks better next to the existing 'add'
This was SVN commit r14079.
2013-11-03 14:09:32 +00:00
5f5eedc513 Rename technology related files, methods and messages so their names represent the shared data flow between technologies and auras (and maybe future components). Implement the C++ part of auras through these generalised files. Fixes #2154
This was SVN commit r14001.
2013-10-15 10:05:08 +00:00
47e9431d29 Check if one of the technologies in a pair is already in progress. Fixes #1820.
This was SVN commit r13395.
2013-05-05 13:54:00 +00:00
e33d4a52e9 AI API V3 along with a new version of Aegis. Support for a JS shared component that can be used or not for each AI.
This was SVN commit r13225.
2013-03-05 22:52:48 +00:00
aebecd1204 Make territory build restriction tech modifiable.
This was SVN commit r13113.
2013-01-23 22:50:11 +00:00
2e37bf10bc Fixes #1700 (Increasing max-health by tech)
This was SVN commit r12960.
2012-12-08 19:17:48 +00:00
51496f1d40 Restructured phase_city techs so that phase_city is auto researched.
This means that there can be civ specific techs for phase_city, but
phase_city is always researched so can be used as a requirement.
Added phase_city_generic which is the tech which will actually be
researched from the building.

This was SVN commit r12750.
2012-10-14 16:12:22 +00:00
6a100996bf Added civ requirement for technologies.
This was SVN commit r12737.
2012-10-07 20:34:37 +00:00
ef81521dc9 Stop a technology from being queued multiple times.
Also fixed formatting in Attack.js

This was SVN commit r12706.
2012-09-24 20:20:14 +00:00
7064e0673c Adds TechnologyModification message for newly created entities, so they are notified of previously researched techs (this will streamline implementation of certain techs). Fixes #1410
This was SVN commit r12698.
2012-09-23 19:19:57 +00:00
c708de489e Display in-progress technologies in the upper right of the screen. Fixes #1431.
This was SVN commit r12243.
2012-07-31 02:03:25 +00:00
a41432f73b Adds support for Cost/Resources and Cost/BuildTime tech modifications.
This was SVN commit r12165.
2012-07-20 01:54:24 +00:00
99d04e93bb Implements global tech modification function. Fixes #1358, refs #1520.
Applies tech modifications to template data returned by GuiInterface.
Extends engine to load arbitrary global scripts, separates this from RNG
replacement. Refs #1193.
Loads global scripts for most script contexts for consistency.
Adds simulation tests for global scripts.

This was SVN commit r12056.
2012-07-03 02:16:45 +00:00
8fba8097ce Reverts bfb7526bcf.
This was SVN commit r11874.
2012-05-17 23:24:12 +00:00
89821855c7 Check that a nearby resource has >0 resources left. Fixes #1395.
Also added a check to TechnologyManager to see if player is defined.

This was SVN commit r11806.
2012-05-09 21:32:21 +00:00
3be4eb44fa fix global from commit c4efc223ed
This was SVN commit r11763.
2012-05-05 21:29:36 +00:00
c4efc223ed Don't serialize the technology modifications cache. Fixes #1384.
This was SVN commit r11761.
2012-05-05 21:21:36 +00:00
825e1ec7a3 Allow replace with 0.
This was SVN commit r11726.
2012-05-03 18:03:57 +00:00
d68d8cdee1 Added "class": "Foo", "number": 5 technology requirement
This was SVN commit r11724.
2012-05-02 20:31:25 +00:00
fc47098743 Implements TerritoryInfluence/Radius tech modification. Adds C++ interface for TechnologyManager. Renames its message to MT_TechnologyModification defined in TypeList.h. Refs #1357.
This was SVN commit r11711.
2012-05-01 22:44:27 +00:00
bfb7526bcf Fixes bug in tech modifications ("affects" was ignored in some situations).
This was SVN commit r11705.
2012-05-01 05:56:53 +00:00
21caaa4573 Fixes some bugs in tech modifications relating to data types. Explicitly convert template data to numbers before calling ApplyModifications (using + operator).
This was SVN commit r11685.
2012-04-27 23:06:40 +00:00
5ceea39a59 Added technology pairs.
This was SVN commit r11609.
2012-04-21 21:40:07 +00:00
96549e0418 Modified caching behavior to work similarly to how k776 suggested. Also added modification level affects as also suggested by k776.
This was SVN commit r11604.
2012-04-21 16:37:35 +00:00
3e3a8d5414 Fix error when no items of a class exist and that class is used for techology requirements.
This was SVN commit r11598.
2012-04-21 10:55:02 +00:00
755e407aeb Technologies. Refs #3. Full unlocking technology implementation. Only unit gathering rates can be modified currently because the patch was big enough already.
This was SVN commit r11584.
2012-04-20 17:21:04 +00:00