Compare commits
7 Commits
Author | SHA1 | Date | |
---|---|---|---|
a87f5bf697 | |||
25e9d96b44 | |||
2d2975b7ed | |||
247eef02aa | |||
a00d80918f | |||
5e4086c861 | |||
f92bea7114 |
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
*.psd
|
||||||
|
/ignore
|
@ -253,10 +253,7 @@ public function NotifyLogout(Controller C)
|
|||||||
{
|
{
|
||||||
`Log_Trace();
|
`Log_Trace();
|
||||||
|
|
||||||
if (!DestroyRepInfo(C))
|
DestroyRepInfo(C);
|
||||||
{
|
|
||||||
`Log_Error("Can't destroy RepInfo of:" @ C);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function bool CreateRepInfo(Controller C)
|
public function bool CreateRepInfo(Controller C)
|
||||||
@ -304,8 +301,8 @@ public function bool DestroyRepInfo(Controller C)
|
|||||||
{
|
{
|
||||||
if (RepInfo.Owner == C)
|
if (RepInfo.Owner == C)
|
||||||
{
|
{
|
||||||
RepInfo.SafeDestroy();
|
|
||||||
RepInfos.RemoveItem(RepInfo);
|
RepInfos.RemoveItem(RepInfo);
|
||||||
|
RepInfo.SafeDestroy();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -42,16 +42,16 @@ public function AddMutator(Mutator Mut)
|
|||||||
|
|
||||||
public function NotifyLogin(Controller C)
|
public function NotifyLogin(Controller C)
|
||||||
{
|
{
|
||||||
Super.NotifyLogin(C);
|
|
||||||
|
|
||||||
CTI.NotifyLogin(C);
|
CTI.NotifyLogin(C);
|
||||||
|
|
||||||
|
Super.NotifyLogin(C);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function NotifyLogout(Controller C)
|
public function NotifyLogout(Controller C)
|
||||||
{
|
{
|
||||||
Super.NotifyLogout(C);
|
|
||||||
|
|
||||||
CTI.NotifyLogout(C);
|
CTI.NotifyLogout(C);
|
||||||
|
|
||||||
|
Super.NotifyLogout(C);
|
||||||
}
|
}
|
||||||
|
|
||||||
DefaultProperties
|
DefaultProperties
|
||||||
|
@ -57,7 +57,6 @@ example: [b]Item=KFGame.KFWeapDef_Mac10[/b] will remove MAC10 from sale.
|
|||||||
[*]Use [b][CTI.AddItems][/b] to add items to the trader inventory.
|
[*]Use [b][CTI.AddItems][/b] to add items to the trader inventory.
|
||||||
example: [b]Item=WeaponPack.KFWeapDef_XM25[/b] will add [url=https://steamcommunity.com/sharedfiles/filedetails/?id=1147408497]XM25[/url] to sale.
|
example: [b]Item=WeaponPack.KFWeapDef_XM25[/b] will add [url=https://steamcommunity.com/sharedfiles/filedetails/?id=1147408497]XM25[/url] to sale.
|
||||||
[/list]
|
[/list]
|
||||||
[h1]🔗 [url=https://steamcommunity.com/workshop/filedetails/discussion/2830826239/3409804177172972154]Weapon Packs Items[/url][/h1]
|
|
||||||
|
|
||||||
[h1]Notes[/h1]
|
[h1]Notes[/h1]
|
||||||
📌 Mutator does not contain custom weapons. You must have the required weapon packs in your subscriptions to be able to add them to the trader.
|
📌 Mutator does not contain custom weapons. You must have the required weapon packs in your subscriptions to be able to add them to the trader.
|
||||||
@ -72,4 +71,4 @@ Version=0
|
|||||||
Then start the server and check the file again - config content should be generated.
|
Then start the server and check the file again - config content should be generated.
|
||||||
|
|
||||||
[h1]Sources[/h1]
|
[h1]Sources[/h1]
|
||||||
[url=https://github.com/GenZmeY/KF2-CustomTraderInventory]https://github.com/GenZmeY/KF2-CustomTraderInventory[/url] [b](GNU GPLv3)[/b]
|
[url=https://github.com/GenZmeY/KF2-CustomTraderInventory]https://github.com/GenZmeY/KF2-CustomTraderInventory[/url] [b](GNU GPLv3)[/b]
|
||||||
|
11
builder.cfg
11
builder.cfg
@ -11,6 +11,15 @@ StripSource="True"
|
|||||||
PackageBuildOrder="CTI"
|
PackageBuildOrder="CTI"
|
||||||
|
|
||||||
|
|
||||||
|
### Brew parameters ###
|
||||||
|
|
||||||
|
# Packages you want to brew using @peelz's patched KFEditor.
|
||||||
|
# Useful for cases where regular brew doesn't put *.upk inside the package.
|
||||||
|
# Specify them with a space as a separator,
|
||||||
|
# The order doesn't matter
|
||||||
|
PackagePeelzBrew=""
|
||||||
|
|
||||||
|
|
||||||
### Steam Workshop upload parameters ###
|
### Steam Workshop upload parameters ###
|
||||||
|
|
||||||
# Mutators that will be uploaded to the workshop
|
# Mutators that will be uploaded to the workshop
|
||||||
@ -30,7 +39,7 @@ Map="KF-Nuked"
|
|||||||
# Endless: KFGameContent.KFGameInfo_Endless
|
# Endless: KFGameContent.KFGameInfo_Endless
|
||||||
# Objective: KFGameContent.KFGameInfo_Objective
|
# Objective: KFGameContent.KFGameInfo_Objective
|
||||||
# Versus: KFGameContent.KFGameInfo_VersusSurvival
|
# Versus: KFGameContent.KFGameInfo_VersusSurvival
|
||||||
Game="KFGameContent.KFGameInfo_Endless"
|
Game="KFGameContent.KFGameInfo_Survival"
|
||||||
|
|
||||||
# Difficulty:
|
# Difficulty:
|
||||||
# Normal: 0
|
# Normal: 0
|
||||||
|
2
tools
2
tools
Submodule tools updated: 2f173aad7a...88b35bd7eb
Reference in New Issue
Block a user