Skip to content
Snippets Groups Projects
Commit a12bfe33 authored by lowercasedonkey's avatar lowercasedonkey
Browse files

working loop

parent e18303a1
No related branches found
No related tags found
No related merge requests found
......@@ -12,12 +12,10 @@ This program is distributed in the hope that it will be useful, but WITHOUT ANY
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/* Set up the game as politely as possible */
/* Set up the game as politely as possible. If values are already set, they are preserved. */
<<run App.Update.setNonexistantProperties(V, App.Data.defaultGameStateVariables)>>
/* These variables must be created AND set to default values NG+ or not */
/*<<run V.assign(App.Data.resetOnNGPlus)>>*/
<<set _NG = App.Data.resetOnNGPlus>>
/* These variables must be created AND set to default values, NG+ or not */
<script>
for (let variable in App.Data.resetOnNGPlus) {
V[variable] = App.Data.resetOnNGPlus[variable];
......@@ -108,6 +106,7 @@ for (let variable in App.Data.resetOnNGPlus) {
<</if>>
/* Porn star counts (prestige 1) and ID's (prestige 3) */
<<set $pornStars = {}>>
<<for _genre range App.Porn.getAllGenres()>>
<<set $pornStars[_genre.fameVar] = { p1count: 0, p3ID: 0 }>>
<</for>>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment