ระบบเควส แบบเห็นไอเทม
เปิดไฟล์ "npc/barters.yml" เพื่อสร้าง database
สร้าง ไฟล์ .yml ชึ้นมาใหม่ import ตามตัวอย่าง
สำคัญมาก จัดแถวย่อหน้าให้ตรงเสมอกัน
- Name: bunny_band_shop ชื่อฟั่งชั่น callshop ต้องตรงกับใน npc ด้านล่าง
Items:
- Index: 0 ลำดับไอเทม
Item: Lucky_Spin_Tickets อ้างอิง AegisName ใน item_db
RequiredItems:
- Index: 0 ลำดับไอเทมทีใช้ทำ (0 ถึง 4) สูงสุด 5 ชิ้น
Item: Feather อ้างอิง AegisName ใน item_db
Amount: 100 จำนวนที่ใช้
Item: Four_Leaf_Clover
Amount: 1
- Index: 2
Item: Scarlet_Jewel
Amount: 1
- Index: 3
Item: Cat_Hairband
Amount: 1
ดาวโหลดไฟล์ตัวอย่าง คลิก !!
ปล. ไม่เข้าใจสอบถาม Inbox
สร้างไฟล์ npc ตั้งชื่อใหม่ .txt
morocc,145,95,5 script ตัวอย่างแลก Bunny Band 910,{
callshop "bunny_band_shop"; ชื่อ ฟังชั่น barters
end;
OnInit:
waitingroom "ตัวอย่างแลก Bunny Band", 0;
end;
}
ดาวโหลดไฟล์ตัวอย่าง คลิก !!
ปล. ไม่เข้าใจสอบถาม Inbox