Jump to content

Recommended Posts

Posted

v1.1.5a - (05OCT26)

  • Fixed - NPC Bounty Wristcuffs should no longer interfere with animations for various interactions.
  • Fixed - In the process of testing all of the functions, discovered BeastSex() in SLP+ version had references to Futa, which are invalid for Creatures.  Corrected to Male.
  • Updated Chinese translation for MCM/Strings provided by zhenmika.
Posted
1 hour ago, fyougoodly said:

hello, could you please add an option that stops enemies from stealing all of your gold?

It's been like that for over a decade.

 

But if you wanted to change it yourself, open up _SLSubmitScene.psc:

Function PlayerRob()
    Int i = 0
    While (i <= 2) && !PlayerRef.IsInCombat() && !ActorBully.GetActorRef().IsDead()
If i == 0
    Gold = PlayerRef.GetGoldAmount()
    If (!_SLQuest.IsNonHumanoid(ActorBully.GetActorRef()))
        Actor Robber = ActorBully.GetActorRef()
        Robber.MoveTo(PlayerRef, 60.0 * Math.Sin(PlayerRef.GetAngleZ()), 60.0 * Math.Cos(PlayerRef.GetAngleZ()))
        float zOffsetRob = Robber.GetHeadingAngle(PlayerRef)
        Robber.SetAngle(Robber.GetAngleX(), Robber.GetAngleY(), Robber.GetAngleZ() + zOffsetRob)
        WRT(1.0)
        PlayerRef.RemoveItem(Gold001, Gold, false, ActorBully.GetActorRef())
    EndIf
ElseIf i == 1
    If (_SLConfig.StealActive && !_SLQuest.IsNonHumanoid(ActorBully.GetActorRef()))
        PlayerRef.RemoveAllItems(ActorBully.GetActorRef(),false,false)
    EndIf
ElseIf i == 2
    If (!_SLQuest.IsNonHumanoid(ActorBully.GetActorRef()))
        If (_SLConfig.StealActive)
            If (_SLConfig.debugActive)
                _SLSubmitScene15.Show()
                WRT(0.1)
            EndIf
        Else
            If (_SLConfig.debugActive)
                _SLSubmitScene14.Show()
                WRT(0.1)
            EndIf
        EndIf
    EndIf
EndIf
    i += 1
    EndWhile
EndFunction

Take the line:

PlayerRef.RemoveItem(Gold001, Gold, false, ActorBully.GetActorRef())

and either delete it if you never want to have your gold stolen (It will be on the NPC that robbed you), or just move it into the If check to see if the MCM StealActive option is on:

    If (_SLConfig.StealActive && !_SLQuest.IsNonHumanoid(ActorBully.GetActorRef()))
        PlayerRef.RemoveAllItems(ActorBully.GetActorRef(),false,false)
    EndIf

Compile, and done.

Posted
On 10/5/2026 at 4:26 PM, zhenmika said:

Just need to replace all the English MCM content inside with other language MCM content.

→Ctrl+A and Ctrl+C(The Translation MCM.txt you need)

→Ctrl+V(The English MCM)
Am I making sense?

Yes, thank you, I understand now. I originally thought there would be some configuration files where the localization settings could be modified.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...