Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
4
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
M
migrations
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Max Maton
migrations
Commits
f30b772b
Commit
f30b772b
authored
Sep 03, 2019
by
Max Maton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make script more compatible with older versions
Fixes
#2
parent
65162ac6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
info.nut
info.nut
+3
-3
No files found.
info.nut
View file @
f30b772b
...
...
@@ -3,16 +3,16 @@ class MigrationScriptInfo extends GSInfo {
function GetName() { return "Migrations"; }
function GetShortName() { return "MIGR"; }
function GetDescription() { return "Town migrations"; }
function GetVersion() { return
1
; }
function GetVersion() { return
2
; }
function MinVersionToLoad() { return 1; }
function GetDate() { return "2018-09-13"; }
function UseAsRandomAI() { return true; }
function CreateInstance() { return "MigrationScript"; }
function GetAPIVersion() { return "1.
8
"; }
function GetAPIVersion() { return "1.
4
"; }
function GetURL() { return "https://gitlab.com/thexa4/migrations/"; }
function GetSettings() {
AddSetting({name = "log_level", description = "Debug: Log level (higher = print more)", easy_value =
3, medium_value = 3, hard_value = 3
, custom_value = 3, flags = CONFIG_INGAME, min_value = 1, max_value = 3});
AddSetting({name = "log_level", description = "Debug: Log level (higher = print more)", easy_value =
1, medium_value = 1, hard_value = 1
, custom_value = 3, flags = CONFIG_INGAME, min_value = 1, max_value = 3});
AddLabels("log_level", {_1 = "1: Info", _2 = "2: Verbose", _3 = "3: Debug" } );
AddSetting({name = "city_creation_floor", description = "How hard it is for a new town to start.", easy_value = 3000, medium_value = 5000, hard_value = 7000, custom_value = 3000, flags = 0, min_value = 100, max_value = 10000});
AddSetting({name = "population_modifier", description = "How quickly a town grows once created.", easy_value = 10, medium_value = 8, hard_value = 5, custom_value = 10, flags = 0, min_value = 1, max_value = 100});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment