mirror of
https://github.com/InfinityLoader/IL-GSC.git
synced 2025-06-07 17:17:50 -05:00
59 lines
896 B
Plaintext
59 lines
896 B
Plaintext
/*******************************************************************
|
|
* Decompiled By: Bog
|
|
* Decompiled File: 1396.gsc
|
|
* Game: Call of Duty: WWII
|
|
* Platform: PC
|
|
* Function Count: 4
|
|
* Decompile Time: 0 ms
|
|
* Timestamp: 10/27/2023 3:26:00 AM
|
|
*******************************************************************/
|
|
|
|
//Function Number: 1
|
|
func_52A4()
|
|
{
|
|
lib_0561::initconsumablesfromtable("nuke",::func_A221,::func_1F83,::func_45BA);
|
|
}
|
|
|
|
//Function Number: 2
|
|
func_1F83(param_00)
|
|
{
|
|
if(!lib_0561::func_1F7B())
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
return 1;
|
|
}
|
|
|
|
//Function Number: 3
|
|
func_A221(param_00)
|
|
{
|
|
maps/mp/gametypes/zombies::func_685F(self,1);
|
|
}
|
|
|
|
//Function Number: 4
|
|
func_45BA(param_00)
|
|
{
|
|
if(!isdefined(param_00))
|
|
{
|
|
param_00 = "";
|
|
}
|
|
|
|
switch(param_00)
|
|
{
|
|
case "epic":
|
|
return 4;
|
|
|
|
case "legendary":
|
|
return 3;
|
|
|
|
case "rare":
|
|
return 2;
|
|
|
|
case "common":
|
|
return 1;
|
|
|
|
default:
|
|
return 0;
|
|
}
|
|
} |