Re: Space Empires V Editor 1.0 released
I just realised the '+' disappeared in the post but does exist in the file.
I will write a '+' juste after the ':' at the end of this line to check: : + 1
I finally tried deleting the Medical Lab part.
It will then go further up to the Ultra-recycler facility and then the same error again, I guess in the following:
Name := Climate Control Facility
Description := Atmospheric conditioning and manipulation improve the conditions of a planet.
Facility Group := Planet Modification
XFile Class Name := Climate Control
Picture Number := 17
Maximum Level := 100
Tonnage Space Taken Formula := 1000
Tonnage Structure Formula := 1000 + (([%Level%] - 1) * 20)
Cost Minerals Formula := 8000 + (([%Level%] - 1) * 80)
Cost Organics Formula := 8000 + (([%Level%] - 1) * 80)
Cost Radioactives Formula := 8000 + (([%Level%] - 1) * 80)
Number Of Requirements := 1
Requirements Evaluation Availability := AND
Requirements Evaluation Allows Placement := TRUE
Requirements Evaluation Allows Usage := TRUE
Requirement 1 Description := Empire must have at least tech level 1 in Planet Utilization.
Requirement 1 Formula := Get_Empire_Tech_Level("Planet Utilization") >= (1 + ([%Level%] - 1))
Number of Abilities := 1
Ability 1 Type := Planet Conditions Change
Ability 1 Description := Improves the conditions of the planet by [%Amount1%]% each year.
Ability 1 Scope := Space Object
Ability 1 Range Formula := 0
Ability 1 Amount 1 Formula := 1 + (([%Level%] - 1) * 0.1)
Ability 1 Amount 2 Formula := 0
I think I got it. My computer has is expecting ',' as decimal separator instead of '.' and then when your program meets a decimal number in formula it will not process correctly.
But I'm not sure if you could force the decimal separator in your code to be '.' instead of windows default one ?
|