0 of 0

File information

Last updated

Original upload

Created by

Demon9ne

Uploaded by

Demon9ne

Virus scan

Safe to use

Tags for this mod

About this mod

Be Forgiven.

Requirements
Permissions and credits
Changelogs
Donations

Atone allows V to locate and use a confession booth and be cleansed of sin, resulting in a street cred reset.

You're probably wondering: why would I want to do this?
To get right with the Lord, obviously, you heathen. But also because this mod is intended to be used as a dependency for other mods that could do any number of things, such as:

... Rewarding you with more street cred.
... Rewarding you for resetting X amount of street cred levels.
... Allowing you to purchase new items for X amount of street cred levels you've reset.
... And so forth. If you are a mod author, see below.

The total street cred levels you've reset can be checked with a CET command.

Addendum
- Because Atone modifies the level-up notification UI, you can see level-up notifications even during combat. This was intentional. The reason this is changed is because if you lose street cred levels (due to another mod that utilizes code provided by Atone), you should be made aware of that right away, while the cause is immediately apparent.

CET Commands
Game.ReportAtonement()

Changelog
- v1.0: Initial release
- v1.1: (dev) Added convenience function to reward street cred to player
- v1.2: Comma-delineated amounts of street cred in reports (eg. 1234 to 1,234)
- v1.2: (dev) All functions that return street cred variables as strings are comma-delineated
- v1.3: Added TweakXL as a mod requirement
- v1.3: Adjusted map icon visibility so it doesn't appear under the Jobs icon filter
- v1.3: Added visual/auditory/haptic feedback when confession booth resets your street cred, so you know the exact moment the lord has entered your heart
- v1.3: Hijacked notification system to alert player when their street cred level was reset or reduced
- v1.3: Cost to use a confession booth is equal to your street cred level, minimum one eddie
- v1.3: (dev) Moved Atone funcs from PlayerPuppet class to Atone class, added wrappers for backward-compatibility
- v1.3: (dev) Added convenience functions to increase or decrease player's current street cred level
- v1.3: (dev) Added a function to play Atone's visual/auditory/haptic feedback effects
- v1.3: (dev) Added BaseStats.AtoneCostMultiplier, which can be manipulated to modify the cost to use a confession booth

Mod Conflicts
- Anything that modifies confession booths. Which is very unlikely, let's be honest.
- Anything that modifies world map icons, resulting in confession booth icons not appearing as intended.
- Anything that modifies the level-up notifications UI (levelup_notification.inkwidget), resulting in minor display bugs.

Requirements
- ArchiveXL
- Redscript
- TweakXL - v1.9.0+

Credits
- DJ_Kovrik (for scripting help)
- Rayshader (for scripting help)
- psiberx (for scripting help and a TweakXL update related to my feedback)

Mod Dev Info
Spoiler:  
Show
You can obviously just reward the player with street cred and suggest they try this mod, but there are some other options available to you, using redscript.

// Conditional Import:

@if(ModuleExists("Atone"))
import Atone.*

// Convenience function to simply reward the player with street cred XP:

Atone.GiveStreetCredExpReward(amount: Int32) -> Void

// Convenience function to increase or decrease the player's current street cred level (with option to set XP to zero):

Atone.IncreaseStreetCredLevel(amount: Int32, opt bFloorXP: Bool) -> Void
Atone.DecreaseStreetCredLevel(amount: Int32, opt bFloorXP: Bool) -> Void

// Spend or refund reset/atoned street cred levels:

Atone.SpendResetStreetCred(amt: Uint32) -> Uint32 // Spend street cred (and return the amount remaining)
Atone.RefundResetStreetCred(amt: Uint32) -> Uint32 // Refund spent street cred (and return the amount remaining)

// Retrieve the amount of reset/atoned street cred levels:

Atone.GetStreetCredLevelsReset() -> Uint32
Atone.GetStreetCredLevelsResetAsString() -> String

// Retrieve the amount of reset/atoned street cred levels that a player has spent, or has left (reset levels = spent levels + remaining levels):

Atone.GetStreetCredLevelsSpent() -> Uint32
Atone.GetStreetCredLevelsSpentAsString() -> String
Atone.GetStreetCredLevelsRemaining() -> Uint32
Atone.GetStreetCredLevelsRemainingAsString() -> String

// To play Atone's brief VFX (with option to play SFX also):

Atone.PlayAtoneFX(opt bSound: Bool) -> Void

// Atone also adds a stat which can be manipulated to modify the cost to use a confession booth:

BaseStats.AtoneCostMultiplier / IntEnum<gamedataStatType>(EnumValueFromName(n"gamedataStatType", n"AtoneCostMultiplier"))

// You can look at Atone.reds and Atone_yml.reds to see how everything works.

My Cyberpunk Mods
- Android_Malfunction
- Armed Apartments
- Atone - Reset Your Street Cred
- Cop Killer
- Endgame Rewards Expanded
- Gamepad Button Hold Indicator Fix
- Gen Teleport Command
- Gorilla Grapple
- In Cold Blood - NPC Execution Fix
- Judy Flirts on Dates
- Loot Icons Extension
- Looting QoL
- Mute Bolt Perk Weapon Charge Sfx
- Mute Deadeye Perk Headshot Sfx
- Mute Focus Perk Chime Sfx
- Mute Overclock Perk Activation Sfx
- Pariah
- Passenger Targeting Fix
- Plan C
- Retrothrusters QoL
- Slaught-O-Matic Platinum
- Slaught-O-Matic QoL
- Streetwalker Minidress - Archive XL
- Throttled Activity Log