• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.
Resource icon

discovery place discovery experience reward

skeetzoo

Banned User
Joined
Aug 22, 2024
Messages
90
Reaction score
29
Location
theforgottenserver
skeetzoo submitted a new resource:

discovery place discovery experience reward - revscript

LUA:
-- Define the discovery event handler
local discovery = MoveEvent()

function discovery.onStepIn(player, item, position, fromPosition)

 if not player:isPlayer() then
        return true -- If it's not a player, do nothing
    end

    local discoveries = {
        {aid = 23001, name = "Rook Temple", experience = 50},
        {aid = 23002, name = "Rook Shop Tower", experience = 25},
        {aid = 23003, name = "Weapon Dealer Shop", experience = 25},
        {aid = 23004, name =...

Read more about this resource...
 
skeetzoo updated discovery place discovery experience reward with a new update entry:

v2

berkecuk:
discovery place discovery experience reward (https://otland.net/resources/discovery-place-discovery-experience-reward.45/)

can we change this reward experience to for example discover 5 places reward unlock outfit discover 10 places reward unlock addon 1 and discover 15 places reward full outfit addons?

LUA:
local discovery = MoveEvent()

function discovery.onStepIn(player, item...

Read the rest of this update entry...
 
Thanks god you added the script normal as lua text instead of download
Who ever had the idea to add a download button for scripts should die by rotworms 24/7
 
skeetzoo updated discovery place discovery experience reward with a new update entry:

v3

moved tables outside of function
removed unnecessary loops


LUA:
local discovery = MoveEvent()

-- Store the discoveries and rewards globally to avoid re-initializing them in the function.
local discoveries = {
    [23001] = {name = "Rook Temple", experience = 50},
    [23002] = {name = "Rook Shop Tower", experience = 25},
    [23003] = {name = "Weapon Dealer Shop", experience = 25},
    [23004] = {name = "Woodlow", experience = 100},
    [23005] = {name = "Elary", experience = 100}...

Read the rest of this update entry...

@oen432 thanks for 1 star review of my restaurant!
Gordon Ramsey Idiot GIF
 
Last edited:
@oen432 thanks for 1 star review of my restaurant!
Wanted to update it since you did correct the script but I can't because you responded to it 😂

Code:
Oops! We ran into some problems.
You can not update your rating or review once the author has responded.
 
Back
Top