init 977 python:
config.developer = True
config.console = True
def Encryption( int_num ):
return sha256(str(int_num).encode()).hexdigest()
def CheckEncryption():
return True
def IsTest():
return True
def SubMissionResorce(fist,hack,action):
global g_misstion_fist, g_misstion_hackingtool, g_misstion_action, m_encryption_resorce
g_misstion_fist -= fist
g_misstion_hackingtool -= hack
g_misstion_action -= action
return True
def PutItemNotice(pKey, count, notice):
global g_InventoryItem, g_switch_put_item_screen
renpy.sound.play( "audio/effect/getitem.wav")
item = GetItem(pKey)
if item:
item.Add(count)
else:
g_InventoryItem.append(ItemData(pKey))
g_InventoryItem[-1].Add(count)
if notice:
if g_switch_put_item_screen == 1:
renpy.hide_screen( "put_item_screen" )
renpy.show_screen( "put_item_screen" , pKey = pKey, count = count)
g_switch_put_item_screen = 2
else:
renpy.hide_screen( "put_item_screen2" )
renpy.show_screen( "put_item_screen2" , pKey = pKey, count = count)
g_switch_put_item_screen = 1
Log( "PutItem", pKey , str(count))
def PutBook(pKey):
global g_InventoryBook
count= 1
renpy.sound.play( "audio/effect/getitem.wav")
book = GetHaveBook(pKey, 1)
if book:
book.Add(count)
else:
g_InventoryBook.append(BookData(pKey))
g_InventoryBook[-1].Add(count)
Log( "PutBook", pKey , str(count))
renpy.hide_screen( "put_book_screen" )
renpy.show_screen( "put_book_screen" , pKey = pKey)
def SubMissionResorce(fist,hack,action):
global g_misstion_fist, g_misstion_hackingtool, g_misstion_action, m_encryption_resorce
g_misstion_fist -= fist
g_misstion_hackingtool -= hack
g_misstion_hackingtool -= action
return True