Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/refactor hands hooks #1

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

brandonsturgeon
Copy link
Member

Fixes the insane hook bloat that happens over time with gmod_hands

@brandonsturgeon brandonsturgeon self-assigned this Sep 25, 2020
@brandonsturgeon
Copy link
Member Author

Something changed and this stopped working, idk.

brandonsturgeon pushed a commit that referenced this pull request Jan 31, 2022
If you write argument in base entity like a string and then overwrite it like table you will catch error like 

[ERROR] lua/includes/modules/scripted_ents.lua:25: bad argument #1 to 'pairs' (table expected, got string)
  1. pairs - [C]:-1
   2. TableInherit - lua/includes/modules/scripted_ents.lua:25
    3. TableInherit - lua/includes/modules/scripted_ents.lua:30
     4. Get - lua/includes/modules/scripted_ents.lua:184
      5. unknown - lua/includes/modules/scripted_ents.lua:151
brandonsturgeon pushed a commit that referenced this pull request Nov 5, 2024
* test

* Add Properties File

* Trying to figure out what's wrong

* Update game_hl2.lua

* ...

* Finally I got it right

* Localization Support: game_hl2.lua

* Update game_hl2.lua

lua/includes/extensions/table.lua:87: bad argument #1 to 'pairs' (table expected, got number)
    1. pairs - [C]:-1
        2. Merge - lua/includes/extensions/table.lua:87
            3. ADD_ITEM - lua/autorun/game_hl2.lua:7
                4. unknown - lua/autorun/game_hl2.lua:21

* Update game_hl2.lua

* Update game_hl2.lua

* Slowy fixing #

* ...

* Update game_hl2.lua

* Fix HL Source Category

* Add Back Phsygun

* Add HL: Source Ammo

* Update game_hl2.lua

* Fix Space

* Portal Core Ents

* Portal Cores

* Rework how translations are applied 

Also no unnecessary changes to order and stuff

* Update and rename engine_entities.properties to entities.properties

---------

Co-authored-by: Rubat <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant