Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
f83b37d
Journal Ported
ovenbreado May 12, 2026
2a7cde7
Ported over quest dialogue.
ovenbreado May 13, 2026
6bd4a59
Added the dialogue for prince brand and princess astrid.
ovenbreado May 13, 2026
73cde4c
Fix doors and stairs.
ovenbreado May 13, 2026
fcc3a27
Add derrik and the pen.
ovenbreado May 13, 2026
4e43ec2
Add the flower girl.
ovenbreado May 13, 2026
fe2e753
More polish and reorg.
ovenbreado May 13, 2026
2af2141
Added all the gathering people.
ovenbreado May 13, 2026
a091f3e
Handle the dang emote stuff.
ovenbreado May 14, 2026
05f6309
Added all the use items on prince and princess.
ovenbreado May 14, 2026
78c033e
Whatever interface fuckery this is.
ovenbreado May 14, 2026
df94244
Add calculations for main calculation of items.
ovenbreado May 15, 2026
d695e9d
Add date command temporarily for this quest.
ovenbreado May 19, 2026
b833f9c
Update names and some npc facings.
ovenbreado May 20, 2026
d1e06f7
Update managing miscellania calculations to reflect exactly what the …
ovenbreado May 20, 2026
c4791b5
Update more miscellania calculations, main stuff done.
ovenbreado May 21, 2026
25361b5
Managing miscellania should be done.
ovenbreado May 21, 2026
254635e
Make more constants.
ovenbreado May 21, 2026
cd0b46a
Pull over some varps and varbits.
ovenbreado May 21, 2026
7fcb864
Add all forms of resource approvals.
ovenbreado May 21, 2026
86302d0
Finish out the deposit withdraw flow. Some fixes.
ovenbreado May 21, 2026
e4cbf59
Defensive coding for coffers.
ovenbreado May 21, 2026
59643b4
Some reorg.
ovenbreado May 22, 2026
f46734e
Reorg more code.
ovenbreado May 30, 2026
85cbd78
More edgecase fixes.
ovenbreado May 31, 2026
e2088d9
Fixed up the random dialogue that happens when dating.
ovenbreado Jun 1, 2026
c200231
Reorg npcs and added fish and veg shops plus stealing.
ovenbreado Jul 5, 2026
d4dd93f
Add all the misc people.
ovenbreado Jul 5, 2026
c982f4b
Fixed semicolons and added one missing man.
ovenbreado Jul 6, 2026
e17c660
Add npc say for attacking and death.
ovenbreado Jul 6, 2026
2162275
Fixed the talking and attacking on misc people.
ovenbreado Jul 6, 2026
79cbbe6
Added blocked resources because npc is using it messages.
ovenbreado Jul 7, 2026
b0f4781
Add killing penalty.
ovenbreado Jul 7, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion maps/m39_60.jm2
Original file line number Diff line number Diff line change
Expand Up @@ -8748,7 +8748,7 @@
0 22 25: 1403
0 22 26: 1393
0 22 27: 1392
0 29 10: 1398
0 30 12: 1398
0 30 53: 1396
0 41 52: 1401
0 42 12: 1377
Expand Down
80 changes: 80 additions & 0 deletions scripts/_test/scripts/debug/debug_miscquest.rs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
[debugproc,misc_tele]
if (p_finduid(uid) = true) {
p_telejump(1_39_60_10_14);
}

[debugproc,misc_quest_reset]
if (p_finduid(uid) = true) {
%misc_quest = ^misc_not_started;
%misc_grantedaudience = 0;
%misc_approval = ^MISC_APPROVAL_25_PERCENT;
%misc_affection = 0;
~send_quest_progress_colour(questlist:misc, %misc_quest, ^misc_complete);
p_telejump(1_39_60_10_14);
}

[debugproc,misc_quest_finish]
if (p_finduid(uid) = true) {
%misc_quest = ^misc_complete;
%misc_grantedaudience = 1;
%misc_approval = ^MISC_APPROVAL_100_PERCENT;
%misc_affection = 4;
~send_quest_progress_colour(questlist:misc, %misc_quest, ^misc_complete);
}


// This is the test calculation.
// Place all 10 workers on wood.
// Run this :::misc_set_optimum which has coffers at 500k, 100% approval and exact 1 days has past
// Run :::misc_update to trigger the miscellania update
// Talk to Advisor Ghrim
// You should get exactly 595 Maple Logs.
[debugproc,misc_set_optimum]
if (p_finduid(uid) = true) {
%varp_360 = calc(date_minutes - ^MISCELLANIA_INTERVAL);
%misc_approval = ^MISC_APPROVAL_100_PERCENT;
%misc_coffers = 500000;
}


[debugproc,misc_rewind]
if (p_finduid(uid) = true) {
mes("misc_rewind");
mes("Previous %varp_360:<tostring(%varp_360)>");
%varp_360 = calc(%varp_360 - ^MISCELLANIA_INTERVAL);
mes("Rewound %varp_360:<tostring(%varp_360)>");
}

[debugproc,misc_update]
if (p_finduid(uid) = true) {
mes("misc_update");
mes("BEFORE");
~misc_printer;
~manage_misc_daily_update;
mes("AFTER");
~misc_printer;
}

[debugproc,misc_print]
if (p_finduid(uid) = true) {
~misc_printer;
}

[proc,misc_printer]
mes("DEBUG MISCELLANIA");
mes("Workers: Mine-<tostring(%misc_points_mine)> Wood-<tostring(%misc_points_wood)> Herb-<tostring(%misc_points_herb)> Fish-<tostring(%misc_points_fish)>");
mes("%currenttime(date_minutes): <tostring(date_minutes)> %misc_last_update(%varp_360): <tostring(%varp_360)>");
mes("Approval: <tostring(%misc_approval)> ResourcePts: <tostring(%varbit_71)> Coffers: <tostring(%misc_coffers)>");

[debugproc,bank]
if (p_finduid(uid) = false) {
return;
}
@openbank;

[debugproc,misc_view_resources]
if (p_finduid(uid) = true) {
if_openmain(inter_95);
if_settext(inter_95:com_60, "Resources Collected");
inv_transmit(misc_resources_collected, inter_95:com_62);
}
4 changes: 4 additions & 0 deletions scripts/_unpack/377/all.loc
Original file line number Diff line number Diff line change
Expand Up @@ -32437,6 +32437,8 @@ recol2s=6342
recol2d=11458
raiseobject=no
op1=Open
category=door_closed
param=next_loc_stage,misc_ulby_throneroomdoor_inactive

[misc_ulby_throneroomdoor_inactive]
model=openbankdoorr
Expand All @@ -32445,6 +32447,8 @@ retex1d=door2
recol2s=6342
recol2d=11458
raiseobject=no
category=door_opened
param=next_loc_stage,misc_ulby_throneroomdoor

[misc_dummy_mapletree]
name=Maple tree
Expand Down
Loading
Loading