Commit Graph

1331 Commits

Author SHA1 Message Date
Luke Spragg c4f1a92b67 Patch for February 8th update (protocol 2057.157.1) update 2018-02-08 12:56:40 -05:00
Luke Spragg 87ff6d5e4a
Merge pull request #33 from OxideMod/develop
Update master from develop
2018-02-01 16:14:39 -05:00
Luke Spragg ecb2a6bbda Patch for February 1st update (protocol 2054.156.1) update 2018-02-01 16:09:27 -05:00
Luke Spragg 08a5a22677
Merge pull request #32 from OxideMod/develop
Update master from develop
2018-01-27 09:28:02 -05:00
Luke Spragg e9e966e1f1 Pre-patch for January 27th update (protocol 2053.155.1) update 2018-01-27 08:28:23 -05:00
Luke Spragg a6bfe47d86
Merge pull request #31 from OxideMod/develop
Update master from develop
2018-01-25 17:05:04 -05:00
Luke Spragg f39bce1ea4 Patch for January 25th update (protocol 2052.155.1) update 2018-01-25 15:04:36 -05:00
Luke Spragg e6767e2b1f
Merge pull request #30 from OxideMod/develop
Update master from develop
2018-01-18 16:23:35 -05:00
Luke Spragg 3b6082bcbf Add default reference for ApexShared for plugins 2018-01-18 16:19:41 -05:00
Luke Spragg 5855510871
Merge pull request #29 from OxideMod/develop
Update master from develop
2018-01-18 16:08:56 -05:00
Luke Spragg f18ab9ff1d Patch for January 18th update (protocol 2051.155.1) update 2018-01-18 16:03:58 -05:00
Luke Spragg b5a9737560
Merge pull request #28 from OxideMod/develop
Update master from develop
2018-01-11 15:45:59 -05:00
Luke Spragg bb661073a4 Patch for January 11th update (protocol 2050.155.1) update
Also remove CanBuild(Planner planner, Construction prefab, Vector3 position) hook in favor of combined CanBuild(Planner planner, Construction prefab, Contruction.Target target) hook
2018-01-11 15:35:41 -05:00
Luke Spragg aa0429258a Expose CodeLock.hasCode and CodeLock.hasGuestCode as public 2018-01-09 00:27:48 -05:00
Wesley Geysels fcd504df05 Replace internal hooks with patches where possible 2018-01-06 14:51:31 +01:00
Luke Spragg 847c1b3019
Merge pull request #26 from OxideMod/develop
Update master from develop
2018-01-04 12:56:36 -05:00
Wesley Geysels b8a3f738a9 Patch for January 4th update (protocol 2049.155.1) update 2018-01-04 18:51:15 +01:00
Luke Spragg e8cb02ce4b Move OnNpcTarget hook to another method 2018-01-03 11:26:38 -05:00
Luke Spragg 7ff400eb91 Expose MetabolismAttribute.lastValue as public 2018-01-03 11:26:22 -05:00
Luke Spragg 23cd58be7d
Merge pull request #21 from OxideMod/develop
Update master from develop
2017-12-23 00:24:36 -05:00
Luke Spragg 3124ebdb11 Minor misc formatting changes 2017-12-22 17:05:44 -05:00
Luke Spragg 0e6fe3411f Only ignore empty chat commands, not single character chat messages 2017-12-22 17:05:27 -05:00
Luke Spragg 56b6dae33f Re-add lang command alias for players 2017-12-22 14:43:36 -05:00
Luke Spragg 5a7f088a11
Merge pull request #20 from OxideMod/develop
Update master from develop
2017-12-22 14:05:22 -05:00
Luke Spragg 87d91b49f9 Should return true for invalid commands, not null 2017-12-22 11:12:41 -05:00
Luke Spragg 9466b9c3aa Check for empty commands and return if so 2017-12-22 10:42:28 -05:00
Thimo Braker 0297ae1297 Add Player.ResetInventory and fix issue with Player.ClearInventory 2017-12-21 19:47:08 -05:00
Luke Spragg 9327c4f79c Fix single character chat not being ignored 2017-12-21 19:44:05 -05:00
Luke Spragg 9880c31c06
Merge pull request #19 from OxideMod/develop
Update master from develop
2017-12-21 16:52:35 -05:00
Luke Spragg f5bb31e6d5 Add additional args to OnItemResearch
Hook now has Item and BasePlayer as 2nd and 3rd args
- void OnItemResearch(ResearchTable table, Item, targetItem, BasePlayer player)
2017-12-21 16:46:15 -05:00
Luke Spragg d56d065baa Update item research hooks a bit
- OnItemResearch is now CanResearchItem
- OnItemResearchStart is now OnItemResearch
- OnItemResearchEnd is now OnItemResearched
2017-12-21 16:45:01 -05:00
Luke Spragg 061b4f7329 Expose a couple private/protected fields
- BaseCombatEntity.lastAttackedTime
- BasePlayer.lifeStory
2017-12-21 16:43:02 -05:00
Luke Spragg ec20ec8cc9 Add a couple new hooks per request
- object CanBuild(Planner planner, Construction component, Construction.Target target)
- void OnDoorKnocked(Door door, BasePlayer player)
2017-12-21 16:42:13 -05:00
Luke Spragg db4a3a5bb1 Patch for December 21st update (protocol 2048.154.1) update 2017-12-21 16:23:09 -05:00
Luke Spragg c6074bc0ae
Merge pull request #17 from OxideMod/develop
Update master from develop
2017-12-18 09:16:27 -05:00
Luke Spragg 6aea5a87a6 Ignore empty chat commands and/or single character chat 2017-12-15 16:29:50 -05:00
Luke Spragg 9a5b6188eb
Merge pull request #16 from OxideMod/develop
Update master from develop
2017-12-15 14:02:04 -05:00
Luke Spragg 84684f406b Add null check in player chat handling 2017-12-15 12:55:06 -05:00
Luke Spragg 9f0360f2f4 Remove unused ToPlaintext in chat hook handling 2017-12-15 01:06:53 -05:00
Luke Spragg 7599d0024e
Merge pull request #15 from OxideMod/develop
Update master from develop
2017-12-14 18:23:19 -05:00
Luke Spragg 50e431e7e7 Switch back to public branch 2017-12-14 17:34:42 -05:00
Luke Spragg 45f601e507 Patch for latest staging branch changes 2017-12-14 17:34:32 -05:00
Luke Spragg 45091b26f3 Patch for latest staging branch changes 2017-12-14 17:18:05 -05:00
Luke Spragg 11949dd272 Modify chat command handling a bit 2017-12-14 17:17:54 -05:00
Luke Spragg 5c19defddc
Merge pull request #13 from OxideMod/develop
Update master from develop
2017-12-11 21:55:40 -05:00
Luke Spragg 64bd488e3d Add a couple new hooks
- OnLiftUse(ProceduralLift lift, BasePlayer player)
- CanLootEntity(LootableCorpse corpse, BasePlayer player)
- CanLootEntity(ResourceContainer container, BasePlayer player)
- CanLootEntity(DroppedItemContainer container, BasePlayer player)
- CanLootEntity(StorageContainer container, BasePlayer player)
2017-12-11 21:47:13 -05:00
Luke Spragg be3452cc53
Merge pull request #12 from OxideMod/develop
Update master from develop
2017-12-11 12:39:24 -05:00
Luke Spragg a0223b23bd Cleanup console info a bit and move log handling to core 2017-12-11 12:26:50 -05:00
Luke Spragg dd465a4b7d
Merge pull request #10 from OxideMod/develop
Update master from develop
2017-12-09 18:29:26 -05:00
Wesley Geysels 17e381bb6c Fix modify hook operands 2017-12-09 23:23:49 +01:00