Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fc-pregmod
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
macaronideath
fc-pregmod
Commits
4c6cda86
Commit
4c6cda86
authored
6 years ago
by
kopareigns
Browse files
Options
Downloads
Patches
Plain Diff
tweaks
parent
c2e40031
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/uncategorized/corporationDevelopments.tw
+5
-5
5 additions, 5 deletions
src/uncategorized/corporationDevelopments.tw
with
5 additions
and
5 deletions
src/uncategorized/corporationDevelopments.tw
+
5
−
5
View file @
4c6cda86
...
@@ -118,7 +118,7 @@ in total, the corporation has enslaved <<print commaNum($corpPeopleEnslaved)>> p
...
@@ -118,7 +118,7 @@ in total, the corporation has enslaved <<print commaNum($corpPeopleEnslaved)>> p
<<elseif $sharePrice*_totalShares < $corpValue*0.5>> /* market cap is less than 50% of value of assets */
<<elseif $sharePrice*_totalShares < $corpValue*0.5>> /* market cap is less than 50% of value of assets */
The market consensus is that your corporation is undervalued, driving share prices sharply up.
The market consensus is that your corporation is undervalued, driving share prices sharply up.
<<set $sharePrice = Math.ceil($sharePrice*random(105,108))/100>> /* 5-8% rise */
<<set $sharePrice = Math.ceil($sharePrice*random(105,108))/100>> /* 5-8% rise */
<<elseif random(1,100) < $rep/1000>> /* up to 20% chance *
<<elseif random(1,100) < $rep/1000>> /* up to 20% chance *
/
Share prices in your corporation are driven up by your reputation.
Share prices in your corporation are driven up by your reputation.
<<set $sharePrice = Math.ceil($sharePrice*either(101,103))/100>> /* 1-3% rise */
<<set $sharePrice = Math.ceil($sharePrice*either(101,103))/100>> /* 1-3% rise */
<<elseif $sharePrice*_totalShares > $corpValue*1.5>> /* market cap is more than 1.5 times value of assets */
<<elseif $sharePrice*_totalShares > $corpValue*1.5>> /* market cap is more than 1.5 times value of assets */
...
@@ -183,7 +183,7 @@ You hold <<print commaNum($personalShares)>> shares personally while <<print com
...
@@ -183,7 +183,7 @@ You hold <<print commaNum($personalShares)>> shares personally while <<print com
<</if>>/* closes actions that reduce private ownership percentage */
<</if>>/* closes actions that reduce private ownership percentage */
<<if _PublicOwnershipPercentage <= 5>>//You cannot make the corporation privately held.//
<<if _PublicOwnershipPercentage <= 5>>
<br>
//You cannot make the corporation privately held.//
<<else>> /* actions that reduce public ownership percentage */
<<else>> /* actions that reduce public ownership percentage */
<br>Purchase shares from corporation:
<br>Purchase shares from corporation:
<<if $cash > 1000*$sharePrice>>
<<if $cash > 1000*$sharePrice>>
...
@@ -384,7 +384,7 @@ You hold <<print commaNum($personalShares)>> shares personally while <<print com
...
@@ -384,7 +384,7 @@ You hold <<print commaNum($personalShares)>> shares personally while <<print com
| <<link "Buy">>
| <<link "Buy">>
<<if $slaveAssetPrice*500 < $corpCash>>
<<if $slaveAssetPrice*500 < $corpCash>>
<<set $slaveAssets += 500>>
<<set $slaveAssets += 500>>
<<set $corpPeopleEnslaved += Math.trunc((
500*
$slaveAssetPrice)/
1000
)>>
<<set $corpPeopleEnslaved += Math.trunc(($slaveAssetPrice)/
2
)>>
<<set $corpCash -= 500*$slaveAssetPrice>>
<<set $corpCash -= 500*$slaveAssetPrice>>
<<replace "#cashOnHand">>
<<replace "#cashOnHand">>
<<print cashFormat($corpCash)>>
<<print cashFormat($corpCash)>>
...
@@ -403,7 +403,7 @@ You hold <<print commaNum($personalShares)>> shares personally while <<print com
...
@@ -403,7 +403,7 @@ You hold <<print commaNum($personalShares)>> shares personally while <<print com
| <<link "Invest Half">>
| <<link "Invest Half">>
<<if $slaveAssetPrice*1000 < $corpCash>>
<<if $slaveAssetPrice*1000 < $corpCash>>
<<set $slaveAssets += (Math.trunc($corpCash/($slaveAssetPrice*1000)))*500>>
<<set $slaveAssets += (Math.trunc($corpCash/($slaveAssetPrice*1000)))*500>>
<<set $corpPeopleEnslaved += Math.trunc(
(
$corpCash/
($slaveAssetPrice*4))/1
000)>>
<<set $corpPeopleEnslaved += Math.trunc($corpCash/
2
000)>>
<<set $corpCash -= (Math.trunc($corpCash/($slaveAssetPrice*1000)))*($slaveAssetPrice*500)>>
<<set $corpCash -= (Math.trunc($corpCash/($slaveAssetPrice*1000)))*($slaveAssetPrice*500)>>
<<replace "#cashOnHand">>
<<replace "#cashOnHand">>
<<print cashFormat($corpCash)>>
<<print cashFormat($corpCash)>>
...
@@ -422,7 +422,7 @@ You hold <<print commaNum($personalShares)>> shares personally while <<print com
...
@@ -422,7 +422,7 @@ You hold <<print commaNum($personalShares)>> shares personally while <<print com
| <<link "Massive investment">>
| <<link "Massive investment">>
<<if $slaveAssetPrice*1000 < $corpCash>>
<<if $slaveAssetPrice*1000 < $corpCash>>
<<set $slaveAssets += (Math.trunc($corpCash/($slaveAssetPrice*500)))*500>>
<<set $slaveAssets += (Math.trunc($corpCash/($slaveAssetPrice*500)))*500>>
<<set $corpPeopleEnslaved += Math.trunc(
(
$corpCash/
($slaveAssetPrice*2))/
1000)>>
<<set $corpPeopleEnslaved += Math.trunc($corpCash/1000)>>
<<set $corpCash -= (Math.trunc($corpCash/($slaveAssetPrice*500)))*($slaveAssetPrice*500)>>
<<set $corpCash -= (Math.trunc($corpCash/($slaveAssetPrice*500)))*($slaveAssetPrice*500)>>
<<replace "#cashOnHand">>
<<replace "#cashOnHand">>
<<print cashFormat($corpCash)>>
<<print cashFormat($corpCash)>>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment