Skip to content

Overhaul and Kotlinize all lighting code #390

@TheBuilderBoy76

Description

@TheBuilderBoy76

Title. Extends work completed in #359. Three main areas of focus:

  • Implement the halogen bulb behavior for all other bulbs. Essentially, convert all lamp socket ranges to be dependent on bulb type (currently only implemented by the floodlights). Make all bulbs emit light at the same base brightness (15). Clean up the bulb registration and lamp aging code. Possibly increase power draws of different bulbs.
  • Kotlinize all lighting code and consolidate the files. Attempt to share as much code as possible between the floodlights/streetlights and sixnode lamp sockets. This would make adding new lights and maintaining the code much easier.
  • Look into rewriting the code for the ghost light blocks (how the lamp sockets currently produce light) and the lamp supplies.

Metadata

Metadata

Labels

code workNeeds code implementationrefactorThis code needs a refactor

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions