Single placement dirt crossing

Transport, Airport, and Road plugins

Moderator: Plugin Moderators

Forum rules
The main focus of the plugin is a road or appears in the in-game transportation or airport tabs

Moving Cars, ships, and planes may be included also. :)
User avatar
CommanderABab
AB
Reactions:
Posts: 11086
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Single placement dirt crossing

#1

Post by CommanderABab »

Screenshot_20220801-022714_TheoTown.jpg
Screenshot_20220801-022344_TheoTown.jpg
Screenshot_20220801-022431_TheoTown.jpg

Code: Select all

[
{
	"active": true,
	"id": "$$ab_dirtroadsp",
	"type": "road",
	"author": "Commander ABab",
	"level": 5,
	"width": 1,
	"height": 1,
	"min level": 0,
	"max level": 0,
	
	"price": 50,
	"pickable": true,
	
	
	"frames": [
		null,
		null,
		null,
		null,
		null,
		null,
		null,
		null,
		null,
		null,
		null,
		null,
		null,
		null,
		null,
		null,
		null
		
		
 
	],
	"flag military": true,
	"flag airport": true,
	"flag normal": true,
	"x flags": {
		"flag normal": true,
		"flag user2": true,
		"flag user3": true,
		"flag airport": true,
		"flag military": true
	},
	"overrunnable": true,
	"one way": false,
	"speed": 13,
	"monthly price": 4,
	
	"single placement":true,
	
	"auto join": true,
	
	"allow bus stop": false,
	"allow crossing": true,
	"allow transfer": true,
	
	"title": "dirt crossing single placement",
	"text": "plan your city with these dirt crossings",
	"hidden": false,
	"dirs": [12, 9, 3, 6, 1, 1, 8, 4, 1, 1, 8, 2, 9, 9, 6, 6, 1, 3, 12, 6, 13, 11, 14, 7],
	"on built fun": [
	
	    {
		"condition": {
			"type": "or",
			"inner": [{
				"type": "frame",
				"min": 0,
				"max": 0
			}, {
				"type": "frame",
				"min": 0,
				"max": 0
			
			}]
		},
		"actions": [
		   
           {"type": "remove"},
        {
			"type": "build",
			"x": -1,
			"y": 0,
			"x2": 2,
			"y2": 0,
			"id": "$road00",
			"level": 0,
			"frame": 0
		},
		{
			"type": "build",
			"x": 0,
			"y": -1,
			"x2": 0,
			"y2": 2,
			"id": "$road00",
			"level": 0,
			"frame": 0
		}
       
       ],
		

		"p": 1,
		"ignore success": true
	}]
}
]
dirtroadsp.json
(1.62 KiB) Downloaded 99 times
Has no graphics as it just builds a crossing of two dirt roads of length three.
Uses the new single placement road feature.

Return to “Transport, Airport, Roads”