FreeOrion

Forums for the FreeOrion project
It is currently Sat May 25, 2013 9:13 pm

All times are UTC




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Orbital Farming on Very Slow Rotation Planets
PostPosted: Mon Oct 10, 2011 5:39 pm 
Offline
Space Floater

Joined: Sat Sep 24, 2011 4:39 pm
Posts: 44
This is a minor issue.

The description of the Orbital Farming technology says, “Increases target farming on all planets by 2, regardless of focus and environment.”

I agree that ‘all’ planets should benefit from this technology, as Orbital Farming would be totally independent of a planet’s environment, including its rotation.

The description of Very Slow Rotation planets says, “Resource supply length from this planet is decreased by 1, and target farming is reduced by 10.”

Now, as Orbital Farming would be totally independent of a planet’s rotation, it seems to me that the target farming on a ‘Very Slow Rotation’ planet should be increased by 2 outright and not subject to the overall target farming reduction by 10. That is, conventional surface crops on a ‘Very Slow Rotation’ planet would remain subject to the target farming reduction by 10, but Orbital Farming crops would be exempted.


Top
 Profile  
 
 Post subject: Re: Orbital Farming on Very Slow Rotation Planets
PostPosted: Mon Oct 10, 2011 5:48 pm 
Online
Programming, Design, and De Facto Lead
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 7899
Location: Vancouver, BC
Feel free to post a revised content file that implements this change.


Top
 Profile  
 
 Post subject: Re: Orbital Farming on Very Slow Rotation Planets
PostPosted: Tue Oct 18, 2011 7:03 pm 
Offline
Space Squid
User avatar

Joined: Tue Oct 18, 2011 6:48 pm
Posts: 93
Location: UTC-5
How about these? (I know I wasn't the one you were talking to, but this seemed like an interesting idea so I decided to try it.)
Attachment:
File comment: Revised specials.txt
specials.txt [28.12 KiB]
Downloaded 16 times
Attachment:
File comment: Revised stringtable
eng_stringtable.txt [228.64 KiB]
Downloaded 10 times

I added this to the slow rotation special:
Code:
activation = Not OwnerHasTech = "GRO_ORBIT_FARMING"

And I added something to the description for slow orbit saying that the penalty was mitigated by Orbital Farming.


Top
 Profile  
 
 Post subject: Re: Orbital Farming on Very Slow Rotation Planets
PostPosted: Tue Oct 18, 2011 8:06 pm 
Online
Programming, Design, and De Facto Lead
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 7899
Location: Vancouver, BC
qsswin wrote:
How about these?
Before I / we take a look, could you explicitly state that you release your contributions under the CC-BY-SA-3.0 and GNU GPL (see Licenses).


Top
 Profile  
 
 Post subject: Re: Orbital Farming on Very Slow Rotation Planets
PostPosted: Tue Oct 18, 2011 8:23 pm 
Offline
Design & Graphics Lead
User avatar

Joined: Sat Sep 23, 2006 7:09 pm
Posts: 3693
Location: USA — midwest
I'm not sure why orbital farms would undo the malus to "construction", but on the other hand, i'm not sure why slow rotation gives that malus in the first place.

_________________
—• Read this First before posting Game Design Ideas!
—• Design Philosophy

—•— My Ideas, Organized —•— Get an Avatar —•— Acronyms —•—


Top
 Profile  
 
 Post subject: Re: Orbital Farming on Very Slow Rotation Planets
PostPosted: Tue Oct 18, 2011 9:39 pm 
Offline
Space Squid
User avatar

Joined: Tue Oct 18, 2011 6:48 pm
Posts: 93
Location: UTC-5
Geoff the Medio wrote:
qsswin wrote:
How about these?
Before I / we take a look, could you explicitly state that you release your contributions under the CC-BY-SA-3.0 and GNU GPL (see Licenses).

OK, I release them under GPL 2 and CC-BY-SA-3.

eleazar wrote:
I'm not sure why orbital farms would undo the malus to "construction", but on the other hand, i'm not sure why slow rotation gives that malus in the first place.

Whoops, I guess I should have realized the activation condition would change both :oops:. I could replace it with this:
Code:
    effectsgroups = [
       EffectsGroup
            scope = Source
            activation = Not OwnerHasTech = "GRO_ORBIT_FARMING"
            effects = SetTargetFarming Value - 10
        EffectsGroup
            scope = Source
            activation = Source
            effects = SetTargetConstruction Value - 20
    ]

In other words, splitting them up so that only the farming will be affected.
As for construction changing at all, I suppose it's because the weather a slow spin would cause (very cold nights, very hot days) would make building up a planet more difficult.


Attachments:
File comment: Updated specials.txt
specials.txt [28.21 KiB]
Downloaded 8 times
Top
 Profile  
 
 Post subject: Re: Orbital Farming on Very Slow Rotation Planets
PostPosted: Wed Oct 19, 2011 2:48 am 
Offline
Design & Graphics Lead
User avatar

Joined: Sat Sep 23, 2006 7:09 pm
Posts: 3693
Location: USA — midwest
Have you tested it?
There's an error in that bit of script, but i don't see what it is.

_________________
—• Read this First before posting Game Design Ideas!
—• Design Philosophy

—•— My Ideas, Organized —•— Get an Avatar —•— Acronyms —•—


Top
 Profile  
 
 Post subject: Re: Orbital Farming on Very Slow Rotation Planets
PostPosted: Wed Oct 19, 2011 3:18 am 
Online
Programming, Design, and De Facto Lead
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 7899
Location: Vancouver, BC
eleazar wrote:
There's an error in that bit of script, but i don't see what it is.
Code:
OwnerHasTech = "GRO_ORBIT_FARMING"


Top
 Profile  
 
 Post subject: Re: Orbital Farming on Very Slow Rotation Planets
PostPosted: Wed Oct 19, 2011 1:20 pm 
Offline
Space Squid
User avatar

Joined: Tue Oct 18, 2011 6:48 pm
Posts: 93
Location: UTC-5
Geoff the Medio wrote:
eleazar wrote:
There's an error in that bit of script, but i don't see what it is.
Code:
OwnerHasTech = "GRO_ORBIT_FARMING"


Oh right, it should just be:
Code:
OwnerHasTech "GRO_ORBIT_FARMING"

or

OwnerHasTech name = "GRO_ORBIT_FARMING"

I tested it out this new version and nothing crashed, so I think it works.


Attachments:
specials.txt [28.21 KiB]
Downloaded 17 times
Top
 Profile  
 
 Post subject: Re: Orbital Farming on Very Slow Rotation Planets
PostPosted: Wed Oct 19, 2011 6:20 pm 
Offline
Design & Graphics Lead
User avatar

Joined: Sat Sep 23, 2006 7:09 pm
Posts: 3693
Location: USA — midwest
OK, thanks,
it's in revision 4418.

_________________
—• Read this First before posting Game Design Ideas!
—• Design Philosophy

—•— My Ideas, Organized —•— Get an Avatar —•— Acronyms —•—


Top
 Profile  
 
 Post subject: Re: Orbital Farming on Very Slow Rotation Planets
PostPosted: Thu Oct 20, 2011 2:36 pm 
Offline
Space Floater

Joined: Sat Sep 24, 2011 4:39 pm
Posts: 44
qsswin wrote:
How about these? (I know I wasn't the one you were talking to, but this seemed like an interesting idea so I decided to try it.)

Thank you.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group