Skip to content

Commit

Permalink
move scripts to scripts/
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernando-A-Rocha committed Aug 1, 2024
1 parent 7153001 commit 678691c
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 14 deletions.
22 changes: 11 additions & 11 deletions newmodels_reborn/meta.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
<min_mta_version client="1.6.0-9.22505.0" server="1.6.0-9.22505.0"></min_mta_version>

<!-- Main Scripts -->
<script src="core/shared_local.lua" type="shared"/>
<script src="core/shared_exported.lua" type="shared"/>
<script src="core/shared_importfunc.lua" type="shared"/>
<script src="core/client_logic.lua" type="client"/>
<script src="core/server_logic.lua" type="server"/>
<script src="scripts/core/shared_local.lua" type="shared"/>
<script src="scripts/core/shared_exported.lua" type="shared"/>
<script src="scripts/core/shared_importfunc.lua" type="shared"/>
<script src="scripts/core/client_logic.lua" type="client"/>
<script src="scripts/core/server_logic.lua" type="server"/>
<!-- Exported functions -->
<export function="getCustomModels" type="shared"/>
<export function="isDefaultID" type="shared"/>
Expand All @@ -34,16 +34,16 @@
<!-- OPTIONAL THINGS: .............................................................. -->

<!-- Update Checker (RECOMMENDED, please keep this to be warned of new releases!) -->
<script src="optional/update_checker/s_update_checker.lua" type="server"/>
<script src="scripts/optional/update_checker/s_update_checker.lua" type="server"/>

<!-- Debugging / Testing -->
<script src="optional/debug/c_debug.lua" type="client"/>
<script src="optional/debug/s_debug.lua" type="server"/>
<script src="scripts/optional/debug/c_debug.lua" type="client"/>
<script src="scripts/optional/debug/s_debug.lua" type="server"/>

<!-- Backwards compatibility with newmodels 3.3.0 -->
<script src="optional/compatibility/shared_exported.lua" type="shared"/>
<script src="optional/compatibility/shared_importfunc.lua" type="shared"/>
<script src="optional/compatibility/server_funcs.lua" type="server"/>
<script src="scripts/optional/compatibility/shared_exported.lua" type="shared"/>
<script src="scripts/optional/compatibility/shared_importfunc.lua" type="shared"/>
<script src="scripts/optional/compatibility/server_funcs.lua" type="server"/>
<!-- Exported functions (Client & Server) -->
<export type="shared" function="getModList"/>
<export type="shared" function="getDataNameFromType"/>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function import()
return error("This function can only be called from another resource.")
end
if not exportScriptString then
local f = fileOpen("core/shared_exported.lua", true)
local f = fileOpen("scripts/core/shared_exported.lua", true)
if not f then
return error("Failed to open file.")
end
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-- !! THIS SCRIPT IS ENTIRELY EXPORTED !!
-- Check core/shared_exported.lua for the original script
-- Check scripts/core/shared_exported.lua for the original script

-- Backwards compatibility with newmodels 3.3.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ _import = import
function import()
local str = _import()
if not exportScriptString then
local f = fileOpen("optional/compatibility/shared_exported.lua", true)
local f = fileOpen("scripts/optional/compatibility/shared_exported.lua", true)
if not f then
return error("Failed to open file.")
end
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 678691c

Please sign in to comment.