From 097ea256c6928d2f945c48cad9b2beeaeb1d144a Mon Sep 17 00:00:00 2001 From: evilmrhenry Date: Sat, 17 Sep 2005 05:20:06 +0000 Subject: [PATCH] * /trunk/code/base_screen.py * /trunk/code/base.py * /trunk/code/player.py Added comments for hard-coded techs, as requested git-svn-id: https://endgame-singularity.googlecode.com/svn/trunk@57 8f866573-0d2c-0410-885a-111b890e13ad --- code/base.py | 1 + code/base_screen.py | 2 ++ code/player.py | 1 + 3 files changed, 4 insertions(+) diff --git a/code/base.py b/code/base.py index 7ed5b35..c533321 100644 --- a/code/base.py +++ b/code/base.py @@ -171,6 +171,7 @@ def renumber_bases(base_array): def allow_entry_to_loc(location): if g.bases.has_key(location): if location == "ANTARCTIC": + #TECH (also, look below) if g.techs["Autonomous Vehicles 2"].known == 1 or \ g.techs["Stealth 4"].known == 1: return 1 return 0 diff --git a/code/base_screen.py b/code/base_screen.py index 8699c0a..09c3410 100644 --- a/code/base_screen.py +++ b/code/base_screen.py @@ -376,6 +376,7 @@ def change_tech(base): item_list = [] item_list.append("Nothing") + #TECH if g.techs["ID 4"].known == 1: item_list.append("Expert Jobs") elif g.techs["ID 3"].known == 1: item_list.append("Intermediate Jobs") elif g.techs["ID 1"].known == 1: item_list.append("Basic Jobs") @@ -512,6 +513,7 @@ def refresh_tech(base, tech_name, xy): if g.jobs.has_key (tech_name): g.print_string(g.screen, tech_name, g.font[0][22], -1, (xy[0]+160, xy[1]+45), g.colors["white"]) + #TECH if g.techs["ID 5"].known == 1: g.print_string(g.screen, g.add_commas(str(int( diff --git a/code/player.py b/code/player.py index 7f14538..4688eca 100644 --- a/code/player.py +++ b/code/player.py @@ -162,6 +162,7 @@ class player_class: if g.jobs.has_key(base_name.studying): self.cash += (g.jobs[base_name.studying][0]* base_name.processor_time()) + #TECH if g.techs["ID 5"].known == 1: #10% bonus income self.cash += (g.jobs[base_name.studying][0]* -- 2.11.4.GIT