Permalink
Browse files

More info returned by spy training buildings.

  • Loading branch information...
1 parent 24da30b commit 9dac7a7135d6cdb7633ed3e520d4a80398220579 @lemming552 lemming552 committed Mar 6, 2013
View
@@ -25,6 +25,19 @@ The list of methods below represents changes and additions to the methods that a
{
"spy_id" : "1",
"time" : "18720",
+ "level" : 26,
+ "offense_rating" : 2600,
+ "defense_rating" : 2600,
+ "intel" : 10,
+ "mayhem" : 60,
+ "politics" : 40,
+ "theft" : 0,
+ "based_from" : {
+ "body_id" :
+ "name" => "Planet Name",
+ "x" => 15,
+ "y" => 4,
+ },
},
...
],
View
@@ -25,6 +25,19 @@ The list of methods below represents changes and additions to the methods that a
{
"spy_id" : "1",
"time" : "18720",
+ "level" : 26,
+ "offense_rating" : 2600,
+ "defense_rating" : 2600,
+ "intel" : 10,
+ "mayhem" : 60,
+ "politics" : 40,
+ "theft" : 0,
+ "based_from" : {
+ "body_id" :
+ "name" => "Planet Name",
+ "x" => 15,
+ "y" => 4,
+ },
},
...
],
View
@@ -25,6 +25,19 @@ The list of methods below represents changes and additions to the methods that a
{
"spy_id" : "1",
"time" : "18720",
+ "level" : 26,
+ "offense_rating" : 2600,
+ "defense_rating" : 2600,
+ "intel" : 10,
+ "mayhem" : 60,
+ "politics" : 40,
+ "theft" : 0,
+ "based_from" : {
+ "body_id" :
+ "name" => "Planet Name",
+ "x" => 15,
+ "y" => 4,
+ },
},
...
],
View
@@ -25,6 +25,19 @@ The list of methods below represents changes and additions to the methods that a
{
"spy_id" : "1",
"time" : "18720",
+ "level" : 26,
+ "offense_rating" : 2600,
+ "defense_rating" : 2600,
+ "intel" : 10,
+ "mayhem" : 60,
+ "politics" : 40,
+ "theft" : 0,
+ "based_from" : {
+ "body_id" :
+ "name" => "Planet Name",
+ "x" => 15,
+ "y" => 4,
+ },
},
...
],
@@ -129,6 +129,19 @@ sub training_costs {
spy_id => $spy->id,
name => $spy->name,
time => $train_time,
+ level => $spy->level,
+ offense_rating => $spy->offense,
+ defense_rating => $spy->offense,
+ intel => $spy->intel_xp,
+ mayhem => $spy->mayhem_xp,
+ politics => $spy->politics_xp,
+ theft => $spy->theft_xp,
+ based_from => {
+ body_id => $spy->from_body_id,
+ name => $spy->from_body->name,
+ x => $spy->from_body->x,
+ y => $spy->from_body->y,
+ },
};
}
}
@@ -130,6 +130,19 @@ sub training_costs {
spy_id => $spy->id,
name => $spy->name,
time => $train_time,
+ level => $spy->level,
+ offense_rating => $spy->offense,
+ defense_rating => $spy->offense,
+ intel => $spy->intel_xp,
+ mayhem => $spy->mayhem_xp,
+ politics => $spy->politics_xp,
+ theft => $spy->theft_xp,
+ based_from => {
+ body_id => $spy->from_body_id,
+ name => $spy->from_body->name,
+ x => $spy->from_body->x,
+ y => $spy->from_body->y,
+ },
};
}
}
@@ -127,6 +127,19 @@ sub training_costs {
spy_id => $spy->id,
name => $spy->name,
time => $train_time,
+ level => $spy->level,
+ offense_rating => $spy->offense,
+ defense_rating => $spy->offense,
+ intel => $spy->intel_xp,
+ mayhem => $spy->mayhem_xp,
+ politics => $spy->politics_xp,
+ theft => $spy->theft_xp,
+ based_from => {
+ body_id => $spy->from_body_id,
+ name => $spy->from_body->name,
+ x => $spy->from_body->x,
+ y => $spy->from_body->y,
+ },
};
}
}
@@ -127,6 +127,19 @@ sub training_costs {
spy_id => $spy->id,
name => $spy->name,
time => $train_time,
+ level => $spy->level,
+ offense_rating => $spy->offense,
+ defense_rating => $spy->offense,
+ intel => $spy->intel_xp,
+ mayhem => $spy->mayhem_xp,
+ politics => $spy->politics_xp,
+ theft => $spy->theft_xp,
+ based_from => {
+ body_id => $spy->from_body_id,
+ name => $spy->from_body->name,
+ x => $spy->from_body->x,
+ y => $spy->from_body->y,
+ },
};
}
}
@@ -7,6 +7,7 @@
- Mod: Citadel of Knope is now more effective
- Add: Starter zones enabled via configuration.
- Add: When a planet implodes from fissures, empires newer than 60 days will not be damaged.
+ - Add: More info on available spies returned by training buildings.
3.0881:
- Fix: DevMin fix.

0 comments on commit 9dac7a7

Please sign in to comment.