bugFreeciv - Bugs: bug #22160, Lua give_technology can't avoid...

 
 
Show feedback again

bug #22160: Lua give_technology can't avoid possibility of tech loss

Submitted by:  Jacob Nevins <jtn>
Submitted on:  Sun 08 Jun 2014 11:37:42 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Assigned to: NoneOpen/Closed: Open
Release: Operating System: Any
Planned Release: 2.6.0

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 08 Jun 2014 11:37:42 AM UTC, original submission:

Technologies given with Lua's give_technology() function are always counted as 'free' technologies; if server settings freecost and techlossforgiveness are set appropriately, this can trigger the loss of a random other tech.

This prevents reliable use of self-root-req'd technologies as tokens given by Lua to hang other effects off (like we used to do with Darwin in the multiplayer ruleset).

I think there should be a way to give_technology without any possibility of tech loss or similar effects.

Jacob Nevins <jtn>
Project Administrator

 

(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jtn (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 03 Jul 2014 10:36:57 PM UTCjtnPlanned Release=>2.6.0
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup