Papyrus Common Library

by SoleVaultBoy·v1.4.3·Updated 2024-11-21

Provides a set of commonly used tools for Papyrus. Includes temporary global variables, 2D arrays, maps, extensive file management, console interaction, and more.

About this mod Machine translation

Provides a set of commonly used tools for Papyrus. Includes temporary global variables, 2D arrays, maps, extensive file management, console interaction, and more.

Prefix:

Visual C++ Redistributable (X64 version):

Address Library for F4SE Plugins (version 163 only):

Fallout 4 Script Extender (F4SE) (version 163 only):

Updated on November 18th:

Version 1.4.3

Fixed a crash that occurred when filtering by form list in any event

Added more general null pointer checks :P ain:

Version 1.4.2

Fixed a crash when calling System:Projectile.GetData with null MuzzleFlashLight

Version 1.4.1

Fixed a crash due to compatibility issues with magic effects and spell engine fixes

Version 1.4.0

Overhauled event system - events will now persist throughout the game session (if not logged out) and can be registered for local and global callback functions

added OnUserEvent, OnDeleteGame, OnPostLoadGame, OnPostSaveGame, OnPreLoadGame, OnPreSaveGame, OnActorDeath, OnActorEquipUnequip, OnFurnitureEnterExit, OnCellAttachDetach, OnContainerChange, OnMa gicEffectApply, OnObjectActivate, OnObjectHit, OnObjectLoadUnload, OnHUDColorUpdate, OnMenuOpenClose, OnTutorialTrigger, OnLockPick, OnPerkPointIncrease, OnTerminalHack, OnPipBoyLightChange and OnPowerArmorLightChange event to System:Events

Added all Encounter Zone, Faction and MagicEffect features of the game

Added GetLoadedMods, IsMaster, IsLight, GetSections, GetKeys, Get-, SetINIBool, Get-, SetINIChar, Get-, SetINIInt, Get-, SetINIUint, Get-, SetINIString, Get-, SetINIColor and SaveINISetting to System: Game

Added GetNthEntryType and GetNthEntryFunctionType to System: Perk

Added Get-,SetProperties and Get-,SetMaterialSwapModel to System:Form

Added Get- and SetPairs to System: MemVar

Added Get-, SetEntries and SetPairs to System:IO:INI

Added Escape and Unescape to System:Regex

Added some integer equivalent functions to previously floating-point-based functions in System:Math, such as Abs, Min, and Max

Change Get-,SetPickupSound,Get-,SetPutdownSound in System:Form to Get-,SetPickupPutdownSounds

Changed System:Form.GetAllByTypes to use only one form type filter and renamed the function to GetAllByType

Changed System: Cell.GetRefsByTypes to use only one form type filter and renamed the function to GetRefsByType

Change the return value of the System:Internal.GetVersion function from float to struct

Updated custom message box functions in System:Message to allow unlimited buttons

Split seeded and non-seeded numeric randomization functions in System:Math

Move the System:IO:INI:Pair structure into its own script so others can better share it

Moved GetCurrentCrosshairRef from System:ObjectReference to System:Game

Rename script System:GlobalEvents to System:Events

Also removed System:Random as the output was not really based on the provided seed

Fixed null array resulting in CTD for any array parameter

Fixed Get- and SetNthEntrySpell not working in System:Perk

Lots of other changes, improvements, and optimizations

Version 1.3.1

Fixed unbound actor value function in System:Perk

Updated on September 28th:

Version 1.3.0

Most form scripts have been reworked to use structs to represent their values ​​- this should greatly improve performance and simplify internal function definitions

Added a Message script that allows the creation of custom message boxes with up to four buttons and a callback

Added all AimModel, Component, Enchantment, Explosion, Message and MiscObject functions for the game

Added some WorldSpace functionality to the game

Added functions IsLower, IsUpper, ToLower and ToUpper to System:Strings and removed similar functions from System:Char

Added GetCurrentCrosshairRef, GetDroppedItemSource and GetAshPileSource to System: ObjectReference

Added GetPairs to System:IO:INI

Added CrosshairRefChange event to System:Events

Add OnPostGameStart as an event to the script runner

Moved Get- and SetCraftSound from System:Potion to System:Form

Removed Get-, SetIsDeleted, Get-, SetIsPlayable Get- and SetIsObstacle …

Install & use Install: follow the bundled instructions

  1. Unzip the archive from playbuff and read the bundled readme / instructions first.
  2. There is no universal mod manager for this game: some mods replace game files directly, some go into a game-specific Mods folder, and some need a game-specific community loader or tool first — follow the bundled readme.
  3. Place the files exactly as the readme says; mods with listed dependencies need those installed too.
  4. Launch the game to confirm it loaded; some games require enabling mods in settings or an in-game mod menu.

Install locations vary a lot between games and mods — the bundled readme is the most reliable guide.

File & checksum

Filename
Papyrus Common Library(更新)
File size
7.5 MiB
SHA-256
090dd86df3428a8422b7f3ab5b97b13aa0106f82430f2f6b7e3ce8a1ade57a4b
Stored at
2026-10-16 16:21