bugFreeciv - Bugs: bug #21444, Saved action_enabler reqs do not...

 
 
Show feedback again

bug #21444: Saved action_enabler reqs do not use tabular format

Submitted by:  Marko Lindqvist <cazfi>
Submitted on:  Sun 05 Jan 2014 11:30:17 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Assigned to: NoneOpen/Closed: Open
Release: Operating System: None
Planned Release: 

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Tue 21 Jan 2014 09:48:41 PM UTC, comment #1:

Another weirdness in secfile saving noticed when updating tileset-demo.sav scenario on S2_5. Why it wants to have "love" column in separate table:

-ai={"love","spam","countdown","war_reason","patience","warn_space","ask_peace"
,"ask_alliance","ask_ceasefire"
-0,4,-1,5,0,0,0,0,0
-0,0,-1,5,0,0,0,0,0
-0,1,-1,5,0,0,0,0,0
-0,2,-1,5,0,0,0,0,0
-0,3,-1,5,0,0,0,0,0
+ai={"love"
+0
+0
+0
+0
+0
+}
+ai={"spam","countdown","war_reason","patience","warn_space","ask_peace","ask_a
lliance","ask_ceasefire"
+4,-1,5,0,0,0,0,0
+0,-1,5,0,0,0,0,0
+1,-1,5,0,0,0,0,0
+2,-1,5,0,0,0,0,0
+3,-1,5,0,0,0,0,0
}

Marko Lindqvist <cazfi>
Project Administrator
Sun 05 Jan 2014 11:30:17 AM UTC, original submission:

For some reason action_enablers saved from freeciv-ruledit do not use tabular format. That's a decision of lower-level secfile saving handling, and should not be concern, but as this is seemingly arbitrary it's suspicious.

[actionenabler_0]
action="Poison City"
actor_reqs0.type="UnitFlag"
actor_reqs0.name="Spy"
actor_reqs0.range="Local"
actor_reqs1.type="DiplRel"
actor_reqs1.name="War"
actor_reqs1.range="Local"
actor_reqs2.type="UnitFlag"
actor_reqs2.name="Diplomat"
actor_reqs2.range="Local"
target_reqs0.type="MinSize"
target_reqs0.name="2"
target_reqs0.range="City"

Marko Lindqvist <cazfi>
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 cazfi (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):

     

     

    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup