Restructured gamefiles, locale data loading refactoring, docker build fixes

This commit is contained in:
2024-05-25 20:00:26 +03:00
parent 27108d629a
commit 48ee253534
1046 changed files with 84 additions and 12989 deletions

View File

@ -0,0 +1,23 @@
quest give_basic_weapon begin
state start begin
function basic_item(job,index)
item_list={}
item_list[0] = {50187}
item_list[1] = {50212}
item_list[2] = {50187}
item_list[3] = {50213}
return item_list[job][index]
end
when login begin
if pc.getqf("basic_weapon") == 0 then
pc.setqf("basic_weapon", 1)
if pc.countitem(item) == 0 and pc.weapon != item then
pc.give_item2(give_basic_weapon.basic_item(pc.job,1) )
end
end
end
end
end