Oxide.Rust icon indicating copy to clipboard operation
Oxide.Rust copied to clipboard

Rust game extension for the Oxide modding framework

Results 22 Oxide.Rust issues
Sort by recently updated
recently updated
newest added

Adds the following section - AI - maybe it's best for it to be in NPC, but I felt like it might lead to confusion with other NPC things. Happy...

- Added Hook void OnBuildingMerge(BuildingManager.Building to, BuildingManager.Building from)

Adds a new BaseOven OnGetTemperature hook: ```cs object returnvar = Interface.CallHook("OnGetTemperature", this, slot); if (returnvar is float) { return (float)returnvar; } ```

```cs object OnNearbyTurretsScan(AutoTurret turret, List nearbyTurrets, bool created) { LogWarning($"OnNearbyTurretsScan works!"); return null; } ``` - Called when an auto turret spawns or despawns, in order to determine which turrets...

``` AutoTurret::authDirty AutoTurret::hasPotentialUnauthedTarget AutoTurret::interferenceUpdateList AutoTurret::nearbyTurrets AutoTurret::OnEntityEnterTrigger AutoTurret::PreventDuplicatesInQueue AutoTurret::TryRegisterForInterferenceUpdate AutoTurret::UpdateInterference AutoTurret::UpdateInterferenceOnOthers AutoTurret::UpdateNearbyTurrets ItemModBackpack::CanAcceptItem PlayerInventory::AddBackpackContentsToList PlayerInventory::CanEquipItem PlayerInventory::CanEquipParachute PlayerInventory::CanMoveItemsFrom PlayerInventory::CanReplaceBackpack PlayerInventory::CanStoreInInventory PlayerInventory::CanWearItem PlayerInventory::CanWearItem PlayerInventory::GetIdealPickupContainer PlayerInventory::OnClothingChanged PlayerInventory::OnContentsDirty PlayerInventory::OnItemRemoved ```

Added object CanPoweredLightsAddPoint(PoweredLightsDeployer deployer, BasePlayer player, Vector3 newPoint, Vector3 newNormal) Added void OnCopyInfoToSign(SignContent content, ISignage sign, IUGCBrowserEntity browser) Tested and working.

Optimizes it without effecting anything else, It maintains old functions.

```csharp object OnDig(BaseDiggableEntity entity, BasePlayer player) ``` Called when a player hits a diggable entity with a shovel.

Fixing NPE issue of OnPlayerSpawn hook when caller returns non-null Forum Post Link: https://umod.org/community/hooks-extended/51527-onplayerspawn-hook-bug-npe?page=1#post-1 Context: OnPlayerSpawn hook call returns null to the caller if return value is not-null. This will...