Skip to content

Commit 5e1a85e

Browse files
committed
Add Daedra Summoning service to guild
1 parent 2b4c7c0 commit 5e1a85e

5 files changed

Lines changed: 44 additions & 3 deletions

File tree

Archaeologists/Quests/JHAR009.txt.meta

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Archaeologists/Quests/JHAR010.txt.meta

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Archaeologists/Scripts/_startupMod.cs

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,21 @@ public static void InitMod(bool debug = false)
7373
ggroup = 0,
7474
children = null
7575
}) && success;
76+
success = FactionFile.RegisterCustomFaction(1002, new FactionFile.FactionData()
77+
{
78+
id = 1002,
79+
parent = 1000,
80+
type = 2,
81+
name = "The Archaeologist Summoners",
82+
summon = -1,
83+
region = -1,
84+
power = 25,
85+
face = -1,
86+
race = -1,
87+
sgroup = 2,
88+
ggroup = 0,
89+
children = null
90+
}) && success;
7691
if (success)
7792
{
7893
// Register the Guild class
@@ -84,6 +99,8 @@ public static void InitMod(bool debug = false)
8499
Services.RegisterGuildService(1001, ArchaeologistsGuild.LocatorService, "Locator Charges");
85100
// Register the custom locator item
86101
ItemCollection.RegisterCustomItem(typeof(LocatorItem).ToString(), typeof(LocatorItem));
102+
// Register the daedra summoning service
103+
Services.RegisterGuildService(1002, GuildServices.DaedraSummoning);
87104
// Register the quest list
88105
if (!debug)
89106
QuestListsManager.RegisterQuestList("Archaeologists");

Archaeologists/WorldData/PAWNAL03.RMB-857-building3.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"Num3dObjectRecords": 47,
3636
"NumFlatObjectRecords": 17,
3737
"NumSection3Records": 27,
38-
"NumPeopleRecords": 8,
38+
"NumPeopleRecords": 9,
3939
"NumDoorRecords": 7
4040
},
4141
"Block3dObjectRecords": [
@@ -799,14 +799,24 @@
799799
},
800800
{
801801
"Position": 8,
802-
"XPos": 70,
802+
"XPos": 80,
803803
"YPos": 0,
804804
"ZPos": 210,
805805
"TextureArchive": 182,
806806
"TextureRecord": 45,
807807
"FactionID": 0,
808808
"Flags": 32
809809
},
810+
{
811+
"Position": 9,
812+
"XPos": 10,
813+
"YPos": 0,
814+
"ZPos": 360,
815+
"TextureArchive": 184,
816+
"TextureRecord": 26,
817+
"FactionID": 1002,
818+
"Flags": 32
819+
},
810820
],
811821
"BlockDoorRecords": [
812822
{

Archaeologists/WorldData/RESIAM10.RMB-543-building10.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,7 @@
804804
"ZPos": 310,
805805
"TextureArchive": 184,
806806
"TextureRecord": 22,
807-
"FactionID": 0,
807+
"FactionID": 1002,
808808
"Flags": 32
809809
},
810810
],

0 commit comments

Comments
 (0)