Skip to content

Commit

Permalink
V1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
TaktischerSpeck committed Oct 16, 2018
0 parents commit 0faf627
Show file tree
Hide file tree
Showing 30 changed files with 1,539 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="lib" path="miglayout15-swing.jar" sourcepath="miglayout-src.zip"/>
<classpathentry kind="output" path="bin"/>
</classpath>
17 changes: 17 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>JobCreator</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
11 changes: 11 additions & 0 deletions .settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.8
7 changes: 7 additions & 0 deletions JobCreator/.classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="lib" path="miglayout15-swing.jar" sourcepath="miglayout-src.zip"/>
<classpathentry kind="output" path="bin"/>
</classpath>
17 changes: 17 additions & 0 deletions JobCreator/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>JobCreator</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
11 changes: 11 additions & 0 deletions JobCreator/.settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.8
Binary file added JobCreator/bin/JobCreator$1.class
Binary file not shown.
Binary file added JobCreator/bin/JobCreator$2.class
Binary file not shown.
Binary file added JobCreator/bin/JobCreator$3.class
Binary file not shown.
Binary file added JobCreator/bin/JobCreator$4.class
Binary file not shown.
Binary file added JobCreator/bin/JobCreator$5.class
Binary file not shown.
Binary file added JobCreator/bin/JobCreator$6.class
Binary file not shown.
Binary file added JobCreator/bin/JobCreator$7.class
Binary file not shown.
Binary file added JobCreator/bin/JobCreator$8.class
Binary file not shown.
Binary file added JobCreator/bin/JobCreator$9.class
Binary file not shown.
Binary file added JobCreator/bin/JobCreator.class
Binary file not shown.
70 changes: 70 additions & 0 deletions JobCreator/heroin.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
||||stringtable.xml||||

<Key ID="STR_License_heroin">
<Original>heroin</Original>
</Key>
<Key ID="STR_Process_heroin">
<Original>heroin</Original>
</Key>
<Key ID="STR_Item_heroin_unprocessed">
<Original>heroin</Original>
</Key>
<Key ID="STR_Item_heroin_processed">
<Original>heroin</Original>
</Key>

||||Config_Gather.hpp||||

class heroin {
amount = 123;
zones[] = {"heroin"};
item = "";
zoneSize = 123;
};

||||Config_Licenses.hpp||||

class heroin {
variable = "heroin";
displayName = "STR_License_heroin";
price = 123;
illegal = true;
side = "civ";
};

||||Config_Process.hpp||||

class heroin {
MaterialsReq[] = {{ "heroin_unrefined",123}};
MaterialsGive[] = {{ "heroin_refined",123}};
Text = "STR_Process_heroin";
NoLicenseCost = 123;
};

||||Config_vItems.hpp||||

class heroin {
variable = "heroin_unprocessed"
displayName = "STR_Item_heroin_unprocessed"
weight = 123123;
buyPrice = 123123;
sellPrice = 123123;
illegal = true;
edible = true;
icon = "heroin";
};

class heroin {
variable = "heroin_processed"
displayName = "STR_Item_heroin_processed"
weight = 123123;
buyPrice = 123123;
sellPrice = 1231231;
illegal = true;
edible = true;
icon = "heroin";
};

||||NPC Init||||

this addAction[localize"STR_Process_heroin",life_fnc_processAction,"heroin",0,false,false,"",' life_inv_heroin_unprocessed > 0 && !life_is_processing && !life_action_inUse'];this addAction[format ["%1 ($%2)",localize (getText(missionConfigFile >> "Licenses" >> "heroin" >> "displayName")), [(getNumber(missionConfigFile >> "Licenses" >> "heroin" >> "price"))] call life_fnc_numberText],life_fnc_buyLicense,"heroin",0,false,false,"",' !license_civ_heroin && playerSide isEqualTo civilian '];
Binary file added JobCreator/miglayout15-swing.jar
Binary file not shown.

0 comments on commit 0faf627

Please sign in to comment.