Skip to content

[IN DEVELOPMENT] A star wars themed system to add system and power management functions to any base and ship

Notifications You must be signed in to change notification settings

list-scripts/sw-systems

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About this repository

This is an addon that I started to create. I haven't made much progress in the past year, so I will just publish the addon on here for now. Feel free to do whatever you, as long as you give proper credit. I will push changes whenever I like and however I like. This addon is not supported in any way in its form right now and maybe broken in its current development state.

Code Style Guidelines

  • Constants should be named as upper case string with an underscore between words EXAMPLE_CONSTANT
  • Variables should be named as lower camel case: exampleVariable
  • Child tables of the SWS table should be named as upper camel case: SWS.ExampleTable
  • Local functions should be named as lower camel case: exampleFunction()
  • Table functions should be named as upper camel case: SWS.ExampleTable:ExampleFunction()
  • Braces do not have a space between them and their content: (example or 0)
  • There should be no spaces before and after concatenations: example.."string"
  • Operators have a space before and after: 1 + 2
  • Network strings and hook names follow the pattern of SWS.Domain.Descriptor: "SWS.Power.UpdateData"

Code Guidelines

  • Dont use global functions
  • Avoid the use of expensive functions such as players.GetAll() or ents.GetAll and reduce the amount of calls if used
  • Don't use NW or NW2 Vars
  • Try to only network the minimal data necessary

Dependencies

Reactor

(optional) Engines and Hyperdrive

About

[IN DEVELOPMENT] A star wars themed system to add system and power management functions to any base and ship

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages