fixed apps messaging
This commit is contained in:
1 parent
c79610db01
commit
8c1c5de0d2
2 files changed
+10
-12
No files matched your search
@@ -54,7 +54,7 @@ health() -> __toggle('health', null);
|
||||
toggle_boxes() ->
|
||||
(
|
||||
global_display_boxes = !global_display_boxes;
|
||||
'';
|
||||
null;
|
||||
);
|
||||
|
||||
update_frequency(ticks) ->
|
||||
@@ -62,14 +62,14 @@ update_frequency(ticks) ->
|
||||
if (type(ticks) != 'number' || ticks <=0 || ticks > 100, exit('Ticks needs to be a positive number from 1 to 100'));
|
||||
global_interval = ticks;
|
||||
global_duration = ticks + 2;
|
||||
'';
|
||||
null;
|
||||
);
|
||||
|
||||
transparency(alpha) ->
|
||||
(
|
||||
if (type(alpha) != 'number' || alpha <=0 || alpha > 255, exit('Ticks needs to be a number from 0 to 255'));
|
||||
global_opacity = floor(alpha);
|
||||
'';
|
||||
null;
|
||||
);
|
||||
|
||||
|
||||
@@ -78,7 +78,7 @@ villager_hostile_detection(hostile) ->
|
||||
(
|
||||
if (!has(global_hostile_to_villager:hostile),
|
||||
print(player(), 'Unknown hostile that affects villagers, possible options are: '+keys(global_hostile_to_villager));
|
||||
exit('');
|
||||
exit(null);
|
||||
);
|
||||
__toggle('villager_hostile_detection', hostile);
|
||||
);
|
||||
@@ -426,7 +426,7 @@ __toggle(feature, arg) ->
|
||||
)
|
||||
);
|
||||
__reset_interaction_types();
|
||||
'';
|
||||
null;
|
||||
);
|
||||
|
||||
global_interaction_types = {};
|
||||
@@ -457,7 +457,7 @@ clear() ->
|
||||
(
|
||||
global_active_functions = [];
|
||||
global_feature_switches = {};
|
||||
''
|
||||
null
|
||||
);
|
||||
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@ __command() ->
|
||||
print(' After CPU spikes jump to where you should be');
|
||||
|
||||
print('');
|
||||
''
|
||||
null
|
||||
);
|
||||
|
||||
global_points = null;
|
||||
@@ -241,7 +241,7 @@ move() ->
|
||||
);
|
||||
global_points:global_selected_point:0 = new_position;
|
||||
__update();
|
||||
'';
|
||||
null;
|
||||
);
|
||||
|
||||
// chenges duration of the current selected segment to X seconds
|
||||
@@ -473,7 +473,7 @@ show() ->
|
||||
global_markers = null;
|
||||
global_showing_path = false;
|
||||
));
|
||||
'';
|
||||
null;
|
||||
);
|
||||
|
||||
// hides path display
|
||||
@@ -482,8 +482,6 @@ hide() ->
|
||||
if (global_showing_path,
|
||||
global_showing_path = false;
|
||||
'Stopped showing path';
|
||||
,
|
||||
''
|
||||
);
|
||||
);
|
||||
|
||||
@@ -540,7 +538,7 @@ play() ->
|
||||
global_playing_path = false;
|
||||
if (showing_path, show());
|
||||
));
|
||||
'';
|
||||
null;
|
||||
);
|
||||
|
||||
// moves player to a selected camera position
|
||||
|
||||
Reference in new issue
Block a user