mirror of
https://github.com/Relintai/mourne_rcpp_fw.git
synced 2024-12-23 21:16:50 +01:00
13 lines
664 B
PHP
Executable File
13 lines
664 B
PHP
Executable File
<?php if ($resources): ?>
|
|
<div id="js_resource">
|
|
<script>
|
|
var resData = [<?=$resources['food']; ?>, <?=$resources['wood']; ?>, <?=$resources['stone']; ?>,
|
|
<?=$resources['iron']; ?>, <?=$resources['mana']; ?>];
|
|
var resMaxData = [<?=$resources['max_food']; ?>, <?=$resources['max_wood']; ?>,
|
|
<?=$resources['max_stone']; ?>, <?=$resources['max_iron']; ?>, <?=$resources['max_mana']; ?>];
|
|
var resTickData = [<?=$resources['rate_food']; ?>, <?=$resources['rate_wood']; ?>,
|
|
<?=$resources['rate_stone']; ?>, <?=$resources['rate_iron']; ?>, <?=$resources['rate_mana']; ?>];
|
|
var resTimerTick = <?=$resources['timer_tick']; ?>;
|
|
</script>
|
|
</div>
|
|
<?php endif; ?>
|