-
-
Notifications
You must be signed in to change notification settings - Fork 128
[New Feature] Industrial Plant Expansion #360
Description
Description:
The ability to adjust or alter various units stats, or even replace existing code. The ability for the coder to decide that when X structure is built, all units whitelisted, not blacklisted, or by default all types will be altered with various codes given such as altering the unit's starting health, altering the unit's rate of fire, altering the unit to be immune to radiation, etc.
Possible Implementation:
I believe the best way to give the coder full control is create a new list of "EnhancementTypes". In this list consists of a series of possible combinations, alterations, and code absolutely overriding the original units listed.
[EnhancementTypes]
0=BudgetFactory
1=ApocalypseTechLab
2=ThrusterEnhancements
3=GrandCannonSwivelUpgrade
[BudgetFactory]
AffectedTypes=VehicleTypes
InitialStrength.Rate= 0.5 ;percentage, rounding up, starting strength. Makes it versatile for all units
UnitsCostBonus=0.5
AllowStacking=true; allows multiple factories to make multiple effects
[ApocalypseTechLab]
AffectedTypes=APOC
Primary=NewWeapon
[ThrusterEnhancements]
AffectedTypes=AircraftTypes,JUMPJET
AffectedTypes.Blacklist=AIRFIELD_APACHE
Airspeed=1.25
AllowStacking=false
[GrandCannonSwivelUpgrade]
AffectedTypes=GTGCAN
ROT=3
Power=-120