From: <ele...@us...> - 2011-09-17 00:59:59
|
Revision: 4279 http://freeorion.svn.sourceforge.net/freeorion/revision/?rev=4279&view=rev Author: eleazzaar Date: 2011-09-17 00:59:50 +0000 (Sat, 17 Sep 2011) Log Message: ----------- making the drone factory stop producing drones when there are too many in a system. Also tweaking some monster stats. Modified Paths: -------------- trunk/FreeOrion/default/ship_hulls.txt trunk/FreeOrion/default/species.txt Modified: trunk/FreeOrion/default/ship_hulls.txt =================================================================== --- trunk/FreeOrion/default/ship_hulls.txt 2011-09-16 20:01:17 UTC (rev 4278) +++ trunk/FreeOrion/default/ship_hulls.txt 2011-09-17 00:59:50 UTC (rev 4279) @@ -1773,17 +1773,21 @@ CreateShip "SM_DRONE" ] EffectsGroup - scope = Source - activation = Random probability = .05 + scope = And [ + System + Contains Source + Number low = 0 high = 7 And [ // Limits the factory to producing only when there are less than 7 drones in system + Ship + ContainedBy And [ + System + Contains Source + ] + DesignHasHull name = "SH_DRONE_BODY" + ] + ] + activation = Random probability = .1 effects = [ CreateShip "SM_DRONE" - GenerateSitRepMessage - message = "EFFECT_MONSTER_SPAWNING" - parameters = [ - tag = "shiphull" data = "SM_DRONE" - tag = "system" data = Source.SystemID - ] - empire = 0 ] ] graphic = "" @@ -1820,16 +1824,8 @@ ] ] stackinggroup = "KRILL_1_ACTION_STACK" - effects = [ - CreateShip "SM_KRILL_2" - GenerateSitRepMessage - message = "EFFECT_MONSTER_SPAWNING" - parameters = [ - tag = "shiphull" data = "SM_KRILL_2" - tag = "system" data = Source.SystemID - ] - empire = 0 - ] + effects = CreateShip "SM_KRILL_2" + EffectsGroup scope = And [ Number low = 2 high = 999 And [ @@ -2057,7 +2053,7 @@ Source ContainedBy Contains Planet type = Asteroids ] - activation = Random probability = 0.10 + activation = Random probability = 0.08 stackinggroup = "KRILL_3_ACTION_STACK" effects = [ CreateShip "SM_KRILL_1" @@ -2124,7 +2120,7 @@ Source ContainedBy Contains Planet type = Asteroids ] - activation = Random probability = 0.08 + activation = Random probability = 0.06 stackinggroup = "KRILL_4_ACTION_STACK" effects = [ CreateShip "SM_KRILL_1" Modified: trunk/FreeOrion/default/species.txt =================================================================== --- trunk/FreeOrion/default/species.txt 2011-09-16 20:01:17 UTC (rev 4278) +++ trunk/FreeOrion/default/species.txt 2011-09-17 00:59:50 UTC (rev 4279) @@ -976,7 +976,6 @@ type = Ocean environment = Poor type = Asteroids environment = Uninhabitable type = Gasgiant environment = Uninhabitable - type = Gasgiant environment = Uninhabitable ] graphic = "icons/species/derthrean.png" |