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

Mod structure #99

Open
Thomas--S opened this issue Feb 28, 2018 · 2 comments
Open

Mod structure #99

Thomas--S opened this issue Feb 28, 2018 · 2 comments

Comments

@Thomas--S
Copy link
Member

Thomas--S commented Feb 28, 2018

Version 3.0 should be more modular and flexible in its structure.

To achieve this, I suggest the following:

minetest-streets (Organization)
 ├ streets (Repository)
 │  ├ modpack.txt
 │  ├ streets_api
 │  │  ├ init.lua
 │  │  ├ helpers.lua
 │  │  ├ light.lua
 │  │  ├ roadmarkings.lua
 │  │  ├ roadsurface.lua
 │  │  ├ trafficlight.lua
 │  │  └ signs.lua
 │  │
 │  ├ streets_accessories
 │  │  ├ textures (folder)
 │  │  ├ init.lua
 │  │  ├ chainlink_fence.lua
 │  │  ├ delineators.lua
 │  │  ├ steelsupport.lua
 │  │  └ guardrail.lua
 │  │
 │  ├ streets_bollards
 │  │  ├ textures (folder)
 │  │  └ init.lua
 │  │
 │  ├ streets_concrete
 │  │  ├ textures (folder)
 │  │  └ init.lua
 │  │
 │  ├ streets_light
 │  │  ├ textures (folder)
 │  │  └ init.lua
 │  │
 │  ├ streets_poles
 │  │  ├ textures (folder)
 │  │  ├ init.lua
 │  │  ├ bigpoles.lua
 │  │  └ poles.lua
 │  │
 │  ├ streets_roadmarkingtool
 │  │  ├ textures (folder)
 │  │  └ init.lua
 │  │
 │  ├ streets_roadsurface
 │  │  ├ textures (folder)
 │  │  └ init.lua
 │  │
 │  ├ streets_roadwork
 │  │  ├ textures (folder)
 │  │  ├ init.lua
 │  │  ├ barrier_tape.lua
 │  │  ├ blinking_light.lua
 │  │  ├ roadwork_delineator.lua
 │  │  ├ traffic_barrier.lua
 │  │  ├ traffic_cone.lua
 │  │  └ traffic_fence.lua
 │  │
 │  ├ streets_trafficlight
 │  │  ├ textures (folder)
 │  │  └ init.lua
 │  │
 │  ├ streets_workshop
 │  │  ├ textures (folder)
 │  │  └ init.lua
 │  │
 │  ├ streets_signs_minetest
 │  │  ├ textures (folder)
 │  │  ├ init.lua
 │  │  ├ danger.lua
 │  │  ├ mandatory.lua
 │  │  ├ priority.lua
 │  │  ├ prohibitory.lua
 │  │  └ writeable.lua
 │  │
 │  └ streets_roadmarkings
 │     ├ textures (folder)
 │     ├ init.lua
 │     ├ side.lua
 │     ├ center.lua
 │     └ arrows.lua
 │
 ├ streets_laneuse (Repository)
 │  ├ textures (folder)
 │  └ init.lua
 │
 ├ streets_matrix_screen (Repository)
 │  ├ textures (folder)
 │  └ init.lua
 │
 ├ streets_roadmarkings_addon (Repository)
 │  ├ textures (folder)
 │  ├ init.lua
 │  └ ... (one file per type)
 │
 ├ streets_signs_de (Repository)
 │  ├ textures (folder)
 │  ├ init.lua
 │  ├ danger.lua
 │  ├ mandatory.lua
 │  ├ other.lua
 │  ├ priority.lua
 │  ├ prohibitory.lua
 │  └ writeable.lua
 │
 ├ streets_signs_us (Repository)
 │  ├ textures (folder)
 │  ├ init.lua
 │  ├ danger.lua
 │  ├ mandatory.lua
 │  ├ other.lua
 │  ├ priority.lua
 │  ├ prohibitory.lua
 │  └ writeable.lua
 │
 └ streets_trafficlight_addon (Repository)
    ├ textures (folder)
    └ init.lua

Update: (04-03-2018): Renamed streets_basic_roadmarkings to streets_roadmarkings.

@webD97
Copy link
Collaborator

webD97 commented Mar 1, 2018

I support this concept, even though I think it's a bit too early to agree on individual files. But the directory/ mod structure is good.

@Thomas--S Thomas--S self-assigned this Mar 4, 2018
Thomas--S referenced this issue Mar 4, 2018
This is only a first step as a base for further work.
This is not usable yet!
@Thomas--S Thomas--S removed their assignment Mar 4, 2018
@Thomas--S
Copy link
Member Author

The mod structure is roughly ready now. The contents of the submods need to be updated now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants