Make player unable to place an entity
-
- Burner Inserter
- Posts: 9
- Joined: Wed Jan 22, 2020 1:42 pm
- Contact:
Make player unable to place an entity
Please help, i want to make possible to place an entity only near another building (distibutor) . I made a script that destroys entity if it cant find the distributor nearby, but I want to do it properly, make player unable to place entity anywhere exept near ditributor
- eradicator
- Smart Inserter
- Posts: 5211
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: Make player unable to place an entity
Impossible. The engine doesn't support prototype based placement restrictions.
And in two years nobody has reacted to my initial proposal ;(.
viewtopic.php?t=54014
And in two years nobody has reacted to my initial proposal ;(.
viewtopic.php?t=54014
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Re: Make player unable to place an entity
Hidden resource patch, you can build mining drills on the resource patches only. Pro: green rectangle about the right place.
Replace this placeholder with the entity that you need.
Replace this placeholder with the entity that you need.