WheteThunger / MonumentAddons

Add entities, spawn points and more to monuments
https://umod.org/plugins/monument-addons
MIT License
5 stars 9 forks source link

Telephone naming automation #32

Closed m-hynek closed 2 years ago

m-hynek commented 2 years ago

29

Monuments

Freight Transit Line

Underwater Labs

I am not sure if DoServerDestroy() is called on Telephone instance when unloading MA. If not, we should add TelephoneManager.DeregisterTelephone(phoneController) to PreEntityKill()

I feel like code needs some improvements, but im pretty happy with functional result

EDIT: moved to #33 due to branch deleting accident

m-hynek commented 2 years ago

I just realized I forgot about dynamic monuments again, so cargoship phone will be named Telephone + initial grid coord, which is bad. I will try to push fix soon