Initial commit

Adding all of the current content for Anphillia Unlimited.
This commit is contained in:
Jaysyn904
2024-01-04 07:49:38 -05:00
parent df18cd54c8
commit 28cdb617b3
12943 changed files with 9727121 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
/************************************************************************
* script name : socket_ini
* created by : eyesolated
* date : 2019/3/21
*
* description : Central initialization script for Socketing
*
* changes : 2019/3/21 - eyesolated - Initial creation
************************************************************************/
#include "socket_inc"
void main()
{
// If all tables exist, do not (re)initialize
if (socket_GetTablesExist())
{
object oLog = GetObjectByTag("LOG");
SetDescription(oLog, GetDescription(oLog) + "\nSOCKET - database already exists.");
WriteTimestampedLogEntry("SOCKET - database already exists - skipping initialization.");
return;
}
// Drop any existing tables
socket_DropTables();
// Create table
socket_CreateTables();
// Add Items
socket_AddSocketableItem("rune_isa", SOCKET_ITEMCATEGORY_GROUP_WEAPONS, ITEM_PROPERTY_DAMAGE_BONUS, IP_CONST_DAMAGETYPE_COLD);
socket_AddSocketableItem("rune_isa", SOCKET_ITEMCATEGORY_GROUP_ALL - SOCKET_ITEMCATEGORY_GROUP_WEAPONS, ITEM_PROPERTY_DAMAGE_RESISTANCE, IP_CONST_DAMAGETYPE_COLD);
}