Skip to content

Commit

Permalink
initial commit with first version of th mod
Browse files Browse the repository at this point in the history
  • Loading branch information
cech12 committed Aug 14, 2018
1 parent cd988d9 commit dc90fb4
Show file tree
Hide file tree
Showing 3 changed files with 88 additions and 2 deletions.
27 changes: 27 additions & 0 deletions Data/Scripts/gameplay/change_CampaignInit.tcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
$start
$replace
set_ownerrace 0 0
$with
set_ownerrace 0 $print:CLAN
$end


$if:SWAP_CLAN

$start
$replace
set_ownerrace 1 1
set_ownerrace 2 2
set_ownerrace 3 3
set_ownerrace 4 4
$with
for {set i 1} {$i<5} {incr i} {
if {$i == $print:CLAN} {
set_ownerrace $i 0
} else {
set_ownerrace $i $i
}
}
$end

$ifend
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,12 @@
# ChangeCampaignClan
Change the played diggles clan in the campaign.
# Mod Description

This is a mod for the game 'Diggles - Myth of Fenris'.
You can change the played diggles clan in the campaign to an other clan.

# Installation Description

Download the latest release of the DigglesModManager here: https://digglesmods.github.io/DigglesModManager/

# Settings

Wiki: https://github.com/DigglesMods/ChangeCampaignClan/wiki
49 changes: 49 additions & 0 deletions config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"version" : "0.1",
"author" : "cech12",

"name" : {
"en" : "Change Campain Clan",
"de" : "Kampagnen-Clan ändern"
},
"description" : {
"en" : "Change the played diggles clan in the campaign.",
"de" : "Ändert den spielbaren Wiggles-Clan in der Kampagne."
},

"links" : {
"download" : "https://github.com/DigglesMods/ChangeCampaignClan/releases",
"wiki" : "https://github.com/DigglesMods/ChangeCampaignClan/wiki"
},

"settings" : [
{
"id": "CLAN",
"type": "int",
"default": 0,
"min": 0,
"max": 4,
"name" : {
"en" : "Clan ID",
"de" : "Clan ID"
},
"description" : {
"en" : "(0:Diggles, 1:Peacer, 2:Knockers, 3:Brains, 4:Vampyres)",
"de" : "(0:Wiggles, 1:Peacer, 2:Knockers, 3:Brains, 4:Vampyres)"
}
},
{
"id" : "SWAP_CLAN",
"type" : "bool",
"default" : false,
"name" : {
"en" : "Swap clan",
"de" : "Tausche Clan"
},
"description" : {
"en" : "The chosen clan becomes the Diggles clan.",
"de" : "Der ausgewählte Clan wird zum Wiggles-Clan."
}
}
]
}

0 comments on commit dc90fb4

Please sign in to comment.