specialpower.ini
Added the last two lines but it doesn't matter if they are commented out or not. FuelTheFires has both, Scavenger only the ReloadTime. Shouldn't matter anyway though. Interesting is that Scavenger uses the Enum of CallTheHorde. I also tried using it for this one without success. I don't even know where the code is which describes what the spell book powers actually do...
SpecialPower SpellBookPlus100CommandPoints
Enum = SPECIAL_SPELL_BOOK_PLUS_100_COMMAND_POINTS
RequiredScience = SCIENCE_Plus100CommandPoints
;ReloadTime = 0
;PublicTimer = No
End
commandbutton.ini
Only thing I added is the NONPRESSABLE thing which makes the button nonpressable… doesn't matter if I can click it though. Nothing happens anyway. The image is actually the Scavenger image which has this name for some reason.
CommandButton Command_SpellBookPlus100CommandPoints
Command = SPELL_BOOK
SpecialPower = SpellBookPlus100CommandPoints
TextLabel = CONTROLBAR:PlusCommandPoints
ButtonImage = SBEvil_Plus100CommandPoints
Options = NONPRESSABLE
DescriptLabel = CONTROLBAR:ToolTipPlusCommandPoints
End
CommandButton Command_PurchaseSpellPlus100CommandPoints
Command = PURCHASE_SCIENCE
ButtonBorderType = UPGRADE ; Identifier for the User as to what kind of button this is
ButtonImage = SBEvil_Plus100CommandPoints ; DJR 6/29/4 using same image as spellbook for now
Science = SCIENCE_Plus100CommandPoints
TextLabel = CONTROLBAR:PlusCommandPoints
DescriptLabel = CONTROLBAR:ToolTipPlusCommandPoints
End
commandset.ini
Replaced Balrog with the new commands.
CommandSet MordorSpellBookCommandSet
1 = Command_SpellBookTaint
2 = Command_SpellBookEyeofSauron
3 = Command_SpellBookIndustry
4 = Command_SpellBookScavenger
5 = Command_SpellBookDevastation
6 = Command_SpellBookDarkness
7 = Command_SpellBookCalltheHorde
8 = Command_SpellBookPlus100CommandPoints ;Command_SpellBookBalrogAlly
End
CommandSet MordorSpellStoreCommandSet
1 = Command_PurchaseSpellTaint
2 = Command_PurchaseSpellEyeofSauron
3 = Command_PurchaseSpellIndustry
4 = Command_PurchaseSpellScavenger
5 = Command_PurchaseSpellDevastation
6 = Command_PurchaseSpellDarkness
7 = Command_PurchaseSpellCalltheHorde
8 = Command_PurchaseSpellPlus100CommandPoints ;Command_PurchaseSpellBalrogAlly
End
science.ini
Changed the cost to 1 for testing. Copied the PrerequisiteSciences line from Balrog.
Science SCIENCE_Plus100CommandPoints
PrerequisiteSciences = SCIENCE_EVIL SCIENCE_Darkness OR SCIENCE_ISENGARD SCIENCE_FreezingRain OR SCIENCE_ISENGARD SCIENCE_FueltheFires OR SCIENCE_MORDOR SCIENCE_Darkness OR SCIENCE_MORDOR SCIENCE_CalltheHorde
SciencePurchasePointCost = 20
SciencePurchasePointCostMP = 1 ;20
IsGrantable = Yes
; DisplayName =
; Description =
End