mirror of
https://github.com/db9979/wibosim.git
synced 2026-12-06 13:34:09 +01:00
- 37 neue, frei erfundene Unternehmen (9 Mid Caps, 28 Small Caps) mit eigenen Logos, Bilanzprofilen und Liquidität; sieben neue Branchen (Immobilien, Versorger, Telekommunikation, Logistik, Medien, Chemie & Rohstoffe, Gesundheit) in Nachrichten, Politik, Bevölkerung, Rivalen, Branchenausblick, Lieferketten und Übernahmen - Indizes WIBO-Mid, WIBO-Small und WIBO-All-Share (Börsenwert, gekappt, verkettet, vierteljährliche Überprüfung mit Puffer); Anzeige in Marktliste, Laufband, Briefing und neuem Reiter „Aktienindizes“ mit Verlauf und Bestandteilen - Marktliste: Suche, Filter nach Segment/Merkliste/Branche, Sortierung, Stern für die Merkliste - Small Caps mit breiteren Spannen und dünneren Büchern; Battle „3 Aktien“ zieht je Segment - Alte Spielstände: neue Aktien, Segmente und Indizes werden beim Laden ergänzt - Leistung: Jahreszeitberechnung zwischengespeichert, Marktnachricht ohne ungenutzte Trades - Tests für Indizes, Segmente, Migration und Marktliste; Saisonende-Test stabilisiert Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018i4GUhQVoPUusUzxgxLWkK
353 lines
40 KiB
JavaScript
353 lines
40 KiB
JavaScript
// Spielwelt: fiktive Unternehmen, Sektoren, Makroökonomie, Zentralbank, Gesetzesvorlagen.
|
||
// Alle Firmen und Institutionen sind frei erfunden – Kurse entstehen ausschließlich im Orderbuch.
|
||
import { gauss, clamp } from './util.js';
|
||
|
||
export const SECTORS = {
|
||
// rateEps: Gewinnwirkung je Prozentpunkt Zins (Banken verdienen an Zinsmarge) · gdpSens: Konjunkturbeta
|
||
// pe: typisches KGV · payout: Ausschüttungsquote · pricing/cost: Preissetzungsmacht bzw. Kostenanteil bei Inflation
|
||
// oil/gas/fx: Gewinnelastizität ggü. Ölpreis, Gaspreis (Abweichung vom saisonüblichen Preis) bzw. Dollarkurs
|
||
// (Dollar teurer = Euro schwächer → Exporteure profitieren); einzelne Firmen setzen gasSens abweichend
|
||
// (Versorger mit Gaskraftwerken profitieren, energieintensive Stahlwerke leiden)
|
||
// sov: Gewinnwirkung je Prozentpunkt Länderrisikoaufschlag (Banken halten viele Staatsanleihen – steigt der Aufschlag, verlieren sie)
|
||
tech: { name: 'Technologie', rateEps: 0, gdpSens: 1.4, pe: 28, payout: 0.15, pricing: 0.6, cost: 0.3, oil: 0, gas: 0, fx: 0.10 },
|
||
energy: { name: 'Energie', rateEps: 0, gdpSens: 0.8, pe: 12, payout: 0.60, pricing: 1.0, cost: 0.5, oil: 0.45, gas: 0.12, fx: -0.05 },
|
||
auto: { name: 'Automobil', rateEps: -0.02, gdpSens: 1.5, pe: 8, payout: 0.40, pricing: 0.4, cost: 0.8, oil: -0.15, gas: -0.02, fx: 0.25 },
|
||
banks: { name: 'Banken', rateEps: 0.08, gdpSens: 1.1, pe: 10, payout: 0.50, pricing: 0.5, cost: 0.3, oil: 0, gas: 0, fx: 0.02, sov: -0.08 },
|
||
pharma: { name: 'Pharma', rateEps: 0, gdpSens: 0.3, pe: 18, payout: 0.45, pricing: 0.7, cost: 0.4, oil: -0.03, gas: -0.01, fx: 0.15 },
|
||
consumer: { name: 'Konsum', rateEps: -0.01, gdpSens: 0.9, pe: 16, payout: 0.50, pricing: 0.5, cost: 0.7, oil: -0.08, gas: -0.03, fx: -0.10 },
|
||
industry: { name: 'Industrie', rateEps: -0.01, gdpSens: 1.3, pe: 14, payout: 0.45, pricing: 0.5, cost: 0.8, oil: -0.12, gas: -0.06, fx: 0.20 },
|
||
defense: { name: 'Verteidigung', rateEps: 0, gdpSens: 0.2, pe: 22, payout: 0.35, pricing: 0.8, cost: 0.4, oil: 0, gas: 0, fx: 0.05 },
|
||
// ab Version 0.25: weitere Branchen für Mid und Small Caps
|
||
// Immobilien: Mieten steigen mit der Inflation (Indexmieten), Zinsen drücken Bewertung und Finanzierung stark
|
||
realestate: { name: 'Immobilien', rateEps: -0.05, gdpSens: 0.6, pe: 16, payout: 0.70, pricing: 0.7, cost: 0.4, oil: 0, gas: -0.01, fx: -0.02 },
|
||
// Versorger: Wasser, Wärme, Stadtwerke – regulierte, stabile Erträge, zinsabhängig wie Anleihen
|
||
utilities: { name: 'Versorger', rateEps: -0.02, gdpSens: 0.3, pe: 15, payout: 0.70, pricing: 0.8, cost: 0.5, oil: 0, gas: 0.02, fx: -0.02 },
|
||
telecom: { name: 'Telekommunikation', rateEps: -0.01, gdpSens: 0.4, pe: 15, payout: 0.65, pricing: 0.5, cost: 0.3, oil: 0, gas: -0.01, fx: 0 },
|
||
// Logistik: Treibstoff ist der größte Kostenblock, Welthandel und Konjunktur bestimmen die Mengen
|
||
logistics: { name: 'Logistik & Transport', rateEps: -0.01, gdpSens: 1.3, pe: 13, payout: 0.40, pricing: 0.6, cost: 0.7, oil: -0.18, gas: -0.02, fx: 0.10 },
|
||
media: { name: 'Medien & Unterhaltung', rateEps: 0, gdpSens: 1.1, pe: 18, payout: 0.40, pricing: 0.4, cost: 0.4, oil: 0, gas: 0, fx: 0 },
|
||
// Chemie & Rohstoffe: energieintensiv (Gas als Rohstoff und Energie), stark exportabhängig
|
||
materials: { name: 'Chemie & Rohstoffe', rateEps: -0.01, gdpSens: 1.4, pe: 11, payout: 0.50, pricing: 0.7, cost: 0.8, oil: -0.08, gas: -0.12, fx: 0.20 },
|
||
// Gesundheit: Kliniken, Pflege, Medizintechnik und Labore – wenig konjunkturabhängig, Löhne als Kostenblock
|
||
health: { name: 'Gesundheit', rateEps: -0.01, gdpSens: 0.3, pe: 20, payout: 0.35, pricing: 0.6, cost: 0.5, oil: -0.01, gas: -0.01, fx: 0.08 },
|
||
};
|
||
|
||
export const COMPANIES = [
|
||
// growth: erwartetes Gewinnwachstum p. a. (läuft langfristig auf ~3 % zurück) · payout überschreibt die Sektorquote
|
||
{ symbol: 'NVLT', name: 'Novalith Systems AG', sector: 'tech', price: 142.5, shares: 4.2e8, vol: 0.38, growth: 0.18,
|
||
desc: 'Entwickelt KI-Beschleuniger und Rechenzentrumschips.', founded: 2004, hq: 'Dresden', employees: 18400 },
|
||
{ symbol: 'QBIT', name: 'Quantbit Software SE', sector: 'tech', price: 61.2, shares: 3.1e8, vol: 0.45, growth: 0.25, payout: 0,
|
||
desc: 'Cloud-Software für Logistik und Quantensimulation.', founded: 2011, hq: 'Berlin', employees: 6200 },
|
||
{ symbol: 'HLIO', name: 'Helion Energie AG', sector: 'energy', price: 38.9, shares: 9.0e8, vol: 0.30, growth: 0.03, gasSens: 0.2,
|
||
desc: 'Versorger mit Gas-, Wind- und Solarkraftwerken.', founded: 1952, hq: 'Essen', employees: 41000 },
|
||
{ symbol: 'VOLT', name: 'Voltwerk Motoren AG', sector: 'auto', price: 87.3, shares: 5.5e8, vol: 0.33, growth: 0.04,
|
||
desc: 'Autobauer im Umbau vom Verbrenner zum E-Antrieb.', founded: 1937, hq: 'Stuttgart', employees: 132000 },
|
||
{ symbol: 'RHBK', name: 'Rheinbank Holding', sector: 'banks', price: 24.6, shares: 1.8e9, vol: 0.28, growth: 0.05,
|
||
desc: 'Universalbank mit Privat- und Firmenkundengeschäft.', founded: 1870, hq: 'Frankfurt am Main', employees: 52000 },
|
||
{ symbol: 'MEDX', name: 'Medexa Pharma SE', sector: 'pharma', price: 112.0, shares: 2.4e8, vol: 0.25, growth: 0.07,
|
||
desc: 'Onkologie- und Impfstoffhersteller mit starker Pipeline.', founded: 1898, hq: 'Mannheim', employees: 29000 },
|
||
{ symbol: 'KRMA', name: 'Kaufrausch Retail AG', sector: 'consumer', price: 19.4, shares: 7.0e8, vol: 0.29, growth: 0.03,
|
||
desc: 'Warenhaus- und Onlinehandelskette.', founded: 1961, hq: 'Köln', employees: 38000 },
|
||
{ symbol: 'STHL', name: 'Stahlhafen Industrie', sector: 'industry', price: 45.1, shares: 6.3e8, vol: 0.27, growth: 0.02, gasSens: -0.15,
|
||
desc: 'Stahl- und Anlagenbau, Zulieferer für Auto und Energie.', founded: 1891, hq: 'Duisburg', employees: 47000 },
|
||
{ symbol: 'AEGS', name: 'Aegis Defence Group', sector: 'defense', price: 203.8, shares: 1.2e8, vol: 0.31, growth: 0.12,
|
||
desc: 'Radar-, Luftabwehr- und Fahrzeugsysteme.', founded: 1979, hq: 'München', employees: 14500 },
|
||
{ symbol: 'GRNH', name: 'Grünhain Wasserstoff', sector: 'energy', price: 9.85, shares: 4.0e8, vol: 0.55, growth: 0.40, gasSens: 0.06, payout: 0,
|
||
desc: 'Elektrolyseure und Wasserstoff-Infrastruktur, noch kaum profitabel.', founded: 2016, hq: 'Hamburg', employees: 1900 },
|
||
// ab Version 0.12: mehr Auswahl je Branche (nicht im WIBO-10)
|
||
{ symbol: 'PIXL', name: 'Pixelhain Games AG', sector: 'tech', price: 34.7, shares: 2.2e8, vol: 0.48, growth: 0.20, payout: 0.1,
|
||
desc: 'Entwickler von Online-Spielen; abhängig von wenigen Hit-Titeln.', founded: 2009, hq: 'Leipzig', employees: 2300 },
|
||
{ symbol: 'SNSR', name: 'Sensorik Nordwerk AG', sector: 'tech', price: 22.4, shares: 3.0e8, vol: 0.42, growth: 0.15,
|
||
desc: 'Sensoren und Mikrochips für Autos, Maschinen und Medizintechnik.', founded: 1998, hq: 'Jena', employees: 5600 },
|
||
{ symbol: 'NRDW', name: 'Nordwind Offshore AG', sector: 'energy', price: 27.8, shares: 5.0e8, vol: 0.33, growth: 0.08, gasSens: 0.08, payout: 0.5,
|
||
desc: 'Betreibt Windparks in Nord- und Ostsee; feste Einspeisevergütungen.', founded: 2003, hq: 'Bremerhaven', employees: 3800 },
|
||
{ symbol: 'RADL', name: 'Radler Mobility SE', sector: 'auto', price: 15.6, shares: 2.6e8, vol: 0.52, growth: 0.22, payout: 0,
|
||
desc: 'E-Bikes, Lastenräder und Sharing-Flotten – stark wachsend, noch mit Verlust.', founded: 2014, hq: 'Freiburg', employees: 2100 },
|
||
{ symbol: 'ZULF', name: 'Kessler Zulieferwerke', sector: 'auto', price: 41.3, shares: 3.4e8, vol: 0.30, growth: 0.02,
|
||
desc: 'Getriebe, Bremsen und Kabelbäume für die Autoindustrie.', founded: 1924, hq: 'Schweinfurt', employees: 61000 },
|
||
{ symbol: 'HNSA', name: 'Hanse Versicherung AG', sector: 'banks', price: 188.5, shares: 1.6e8, vol: 0.20, growth: 0.04, payout: 0.65,
|
||
desc: 'Lebens-, Sach- und Rückversicherung; legt Prämien vor allem in Anleihen an.', founded: 1856, hq: 'Hamburg', employees: 33000 },
|
||
{ symbol: 'FNTX', name: 'Fintaxo Payments SE', sector: 'banks', price: 48.9, shares: 1.9e8, vol: 0.50, growth: 0.24, payout: 0,
|
||
desc: 'Bezahldienst für Onlinehändler und Smartphone-Konten.', founded: 2012, hq: 'Berlin', employees: 2900 },
|
||
{ symbol: 'BIOV', name: 'Biovara Therapeutics', sector: 'pharma', price: 12.3, shares: 1.5e8, vol: 0.62, growth: 0.30, payout: 0,
|
||
desc: 'Biotech mit zwei Wirkstoffen in der Zulassungsstudie – alles hängt an den Daten.', founded: 2010, hq: 'Martinsried', employees: 480 },
|
||
{ symbol: 'VITA', name: 'Vitalis Generika AG', sector: 'pharma', price: 56.2, shares: 2.0e8, vol: 0.19, growth: 0.03, payout: 0.55,
|
||
desc: 'Nachahmerpräparate und rezeptfreie Arzneien; stabil, wenig Fantasie.', founded: 1949, hq: 'Ulm', employees: 12500 },
|
||
{ symbol: 'BRAU', name: 'Kronquell Brauerei AG', sector: 'consumer', price: 73.5, shares: 1.1e8, vol: 0.18, growth: 0.02, gasSens: -0.05, payout: 0.7,
|
||
desc: 'Bier, Limonaden und Mineralwasser; treue Kundschaft, hohe Ausschüttung.', founded: 1812, hq: 'Bamberg', employees: 6900 },
|
||
{ symbol: 'BAUW', name: 'Baukraft Werke AG', sector: 'industry', price: 31.9, shares: 4.1e8, vol: 0.32, growth: 0.04, gasSens: -0.04,
|
||
desc: 'Hoch- und Tiefbau, Brücken und Schienen; profitiert von staatlichen Aufträgen.', founded: 1902, hq: 'Dortmund', employees: 39000 },
|
||
{ symbol: 'ROBO', name: 'Robotik Alpen AG', sector: 'industry', price: 96.4, shares: 1.3e8, vol: 0.36, growth: 0.14, gasSens: -0.02, payout: 0.25,
|
||
desc: 'Industrieroboter und Fabrikautomatisierung.', founded: 1986, hq: 'Augsburg', employees: 8800 },
|
||
{ symbol: 'ORBT', name: 'Orbitum Raumfahrt AG', sector: 'defense', price: 64.0, shares: 1.4e8, vol: 0.40, growth: 0.16, payout: 0.1,
|
||
desc: 'Satelliten, Trägerraketen und Bodenstationen für Staat und Wirtschaft.', founded: 2001, hq: 'Bremen', employees: 4200 },
|
||
// ab Version 0.25: Mid Caps · liq: Liquidität (Markttiefe und Spanne des Market Makers, 1 = Standardwert) · profile: Bilanzprofil (credit.js)
|
||
{ symbol: 'WBTK', name: 'Weitblick Telekom AG', sector: 'telecom', price: 18.4, shares: 7.0e8, vol: 0.21, growth: 0.03, payout: 0.75, liq: 0.95, profile: 'telecom',
|
||
desc: 'Mobilfunk- und Festnetzanbieter mit eigenem Glasfasernetz; verlässliche Dividende, hohe Schulden.', founded: 1995, hq: 'Bonn', employees: 24000 },
|
||
{ symbol: 'WOHN', name: 'Wohnwerk Immobilien SE', sector: 'realestate', price: 42.0, shares: 2.8e8, vol: 0.25, growth: 0.03, payout: 0.75, liq: 0.9, profile: 'reit',
|
||
desc: 'Vermietet rund 160 000 Wohnungen in Ballungsräumen; Mieten steigen mit, Zinsen belasten.', founded: 2001, hq: 'Bochum', employees: 6800 },
|
||
{ symbol: 'STWK', name: 'Stadtwerke Verbund AG', sector: 'utilities', price: 29.5, shares: 3.6e8, vol: 0.17, growth: 0.025, payout: 0.75, liq: 0.9, profile: 'utility',
|
||
desc: 'Zusammenschluss kommunaler Versorger: Strom- und Wärmenetze, Wasser und Gaskraftwerke.', founded: 1999, hq: 'Hannover', employees: 15500 },
|
||
{ symbol: 'FRHT', name: 'Frachtwerk Logistik AG', sector: 'logistics', price: 64.0, shares: 1.6e8, vol: 0.29, growth: 0.05, liq: 0.85, profile: 'logistics',
|
||
desc: 'Kontraktlogistik, Lkw-Flotte und Containerterminals; spürt Welthandel und Dieselpreis sofort.', founded: 1953, hq: 'Hamburg', employees: 47000 },
|
||
{ symbol: 'CHMX', name: 'Chemiepark Rheinau AG', sector: 'materials', price: 52.8, shares: 2.2e8, vol: 0.28, growth: 0.03, gasSens: -0.18, liq: 0.85, profile: 'chemicals',
|
||
desc: 'Grundstoff- und Spezialchemie im Verbundstandort; Erdgas ist Rohstoff und größter Kostenblock.', founded: 1888, hq: 'Ludwigshafen', employees: 36000 },
|
||
{ symbol: 'HLWK', name: 'Heilwerk Kliniken AG', sector: 'health', price: 38.2, shares: 2.1e8, vol: 0.2, growth: 0.05, payout: 0.4, liq: 0.85, profile: 'clinic',
|
||
desc: 'Betreibt 85 Krankenhäuser und Reha-Kliniken; Fallpauschalen und Personalkosten bestimmen die Marge.', founded: 1984, hq: 'Kassel', employees: 58000 },
|
||
{ symbol: 'AURM', name: 'Aurum Medien Gruppe', sector: 'media', price: 24.6, shares: 2.4e8, vol: 0.32, growth: 0.04, liq: 0.8, profile: 'media',
|
||
desc: 'Fernsehsender, Radio und Werbevermarktung; die Werbeumsätze folgen der Konjunktur.', founded: 1987, hq: 'Köln', employees: 9300 },
|
||
{ symbol: 'FNMD', name: 'Feinmed Instrumente SE', sector: 'health', price: 118.0, shares: 6.5e7, vol: 0.26, growth: 0.09, payout: 0.3, liq: 0.8, profile: 'medtech',
|
||
desc: 'Medizintechnik: Operationsroboter, Endoskope und Einwegbesteck für Kliniken weltweit.', founded: 1962, hq: 'Tuttlingen', employees: 11200 },
|
||
{ symbol: 'FLDK', name: 'Feldkraft Agrarchemie AG', sector: 'materials', price: 33.0, shares: 1.5e8, vol: 0.3, growth: 0.04, gasSens: -0.12, liq: 0.8, profile: 'chemicals',
|
||
desc: 'Dünger, Saatgut und Pflanzenschutz; Dünger braucht viel Erdgas, die Ernte bestimmt die Nachfrage.', founded: 1921, hq: 'Halle (Saale)', employees: 8900 },
|
||
// ab Version 0.25: Small Caps – weniger liquide (breitere Spannen, dünneres Orderbuch), schwankungsfreudiger
|
||
{ symbol: 'BSTX', name: 'Bastionix Sicherheitssoftware AG', sector: 'tech', price: 14.2, shares: 9.0e7, vol: 0.5, growth: 0.22, payout: 0, liq: 0.6, profile: 'software',
|
||
desc: 'Schutz vor Hackerangriffen für Mittelstand und Behörden; wächst schnell, verdient noch wenig.', founded: 2013, hq: 'Darmstadt', employees: 950 },
|
||
{ symbol: 'PLTN', name: 'Platinenbau Erzgebirge AG', sector: 'tech', price: 8.65, shares: 1.1e8, vol: 0.46, growth: 0.12, payout: 0.1, liq: 0.55, profile: 'chips',
|
||
desc: 'Leiterplatten und Baugruppen für Autos, Maschinen und Medizingeräte – Auftragsfertiger mit dünnen Margen.', founded: 1991, hq: 'Chemnitz', employees: 3100 },
|
||
{ symbol: 'WLLE', name: 'Wellenreich Funk AG', sector: 'telecom', price: 6.4, shares: 2.3e8, vol: 0.28, growth: 0.04, payout: 0.6, liq: 0.6, profile: 'telecom',
|
||
desc: 'Regionaler Kabelnetzbetreiber: Internet, Fernsehen und Telefon für 1,8 Mio. Haushalte.', founded: 1997, hq: 'Kiel', employees: 2400 },
|
||
{ symbol: 'GLSF', name: 'Glasfaser Hügelland AG', sector: 'telecom', price: 11.8, shares: 1.4e8, vol: 0.37, growth: 0.14, payout: 0.1, liq: 0.55, profile: 'telecom',
|
||
desc: 'Baut Glasfaseranschlüsse auf dem Land; investiert viel auf Kredit, profitiert von Förderprogrammen.', founded: 2015, hq: 'Fulda', employees: 1300 },
|
||
{ symbol: 'QRTR', name: 'Quartierbau Wohnen AG', sector: 'realestate', price: 17.3, shares: 8.0e7, vol: 0.33, growth: 0.03, payout: 0.7, liq: 0.55, profile: 'reit',
|
||
desc: 'Entwickelt und vermietet Stadtquartiere; Neubau lohnt nur bei niedrigen Bauzinsen.', founded: 2006, hq: 'Leipzig', employees: 720 },
|
||
{ symbol: 'HALW', name: 'Hallenwert Logistikimmobilien AG', sector: 'realestate', price: 23.1, shares: 6.0e7, vol: 0.29, growth: 0.04, payout: 0.8, liq: 0.55, profile: 'reit',
|
||
desc: 'Besitzt Lager- und Verteilzentren an Autobahnknoten, vermietet an Paket- und Onlinehändler.', founded: 2010, hq: 'Kassel', employees: 210 },
|
||
{ symbol: 'BRWK', name: 'Brunnwerk Wasser AG', sector: 'utilities', price: 41.5, shares: 3.2e7, vol: 0.16, growth: 0.02, payout: 0.8, liq: 0.5, profile: 'utility',
|
||
desc: 'Trinkwasser und Abwasser für 40 Gemeinden; regulierte Gebühren, kaum Überraschungen.', founded: 1902, hq: 'Gotha', employees: 1600 },
|
||
{ symbol: 'WMNT', name: 'Wärmenetz Süd AG', sector: 'utilities', price: 15.9, shares: 9.0e7, vol: 0.22, growth: 0.03, payout: 0.7, gasSens: -0.06, liq: 0.55, profile: 'utility',
|
||
desc: 'Fernwärme aus Gas, Abwärme und Großwärmepumpen; teures Gas schmälert die Marge.', founded: 1974, hq: 'Augsburg', employees: 1900 },
|
||
{ symbol: 'KRFT', name: 'Kanalfracht Binnenschiff AG', sector: 'logistics', price: 9.7, shares: 7.0e7, vol: 0.4, growth: 0.03, payout: 0.5, liq: 0.5, profile: 'logistics',
|
||
desc: 'Binnenschiffe für Kohle, Getreide und Container; Niedrigwasser und Dieselpreis schlagen voll durch.', founded: 1923, hq: 'Duisburg', employees: 1100 },
|
||
{ symbol: 'LFTX', name: 'Luftfracht Ostkreuz AG', sector: 'logistics', price: 21.4, shares: 6.5e7, vol: 0.42, growth: 0.06, liq: 0.55, profile: 'logistics',
|
||
desc: 'Frachtflugzeuge und Expressfracht; Kerosinpreis und Welthandel bestimmen das Ergebnis.', founded: 1992, hq: 'Leipzig', employees: 2700 },
|
||
{ symbol: 'PKTB', name: 'Paketbote Wiborien AG', sector: 'logistics', price: 12.6, shares: 1.2e8, vol: 0.37, growth: 0.1, payout: 0.2, liq: 0.6, profile: 'logistics',
|
||
desc: 'Paketzustellung auf der letzten Meile mit E-Transportern; wächst mit dem Onlinehandel.', founded: 2008, hq: 'Nürnberg', employees: 14000 },
|
||
{ symbol: 'STRM', name: 'Streamwerk Medien AG', sector: 'media', price: 19.8, shares: 7.5e7, vol: 0.5, growth: 0.18, payout: 0, liq: 0.55, profile: 'software',
|
||
desc: 'Streamingdienst für Serien und Sport; jeder Abonnent zählt, Rechte sind teuer.', founded: 2014, hq: 'München', employees: 860 },
|
||
{ symbol: 'ABST', name: 'Funkhaus Abendstern AG', sector: 'media', price: 7.3, shares: 1.3e8, vol: 0.31, growth: 0.01, payout: 0.7, liq: 0.5, profile: 'media',
|
||
desc: 'Private Radiosender und Regionalfernsehen; Werbeflaute trifft sofort, Ausschüttung ist hoch.', founded: 1986, hq: 'Saarbrücken', employees: 1400 },
|
||
{ symbol: 'VRLG', name: 'Verlagshaus Lindenblatt AG', sector: 'media', price: 26.0, shares: 3.0e7, vol: 0.27, growth: 0, payout: 0.7, liq: 0.45, profile: 'media',
|
||
desc: 'Tageszeitungen, Fachzeitschriften und Schulbücher; Print schrumpft, Digitalabos wachsen.', founded: 1849, hq: 'Stuttgart', employees: 3300 },
|
||
{ symbol: 'LACK', name: 'Farbwerk Lackmann AG', sector: 'materials', price: 34.2, shares: 4.0e7, vol: 0.29, growth: 0.03, payout: 0.5, gasSens: -0.1, liq: 0.55, profile: 'chemicals',
|
||
desc: 'Lacke und Beschichtungen für Autos, Häuser und Schiffe; hängt an Bau und Autoindustrie.', founded: 1911, hq: 'Wuppertal', employees: 4100 },
|
||
{ symbol: 'KALI', name: 'Salzstock Kalimont AG', sector: 'materials', price: 18.9, shares: 7.5e7, vol: 0.38, growth: 0.04, gasSens: -0.05, liq: 0.55, profile: 'chemicals',
|
||
desc: 'Bergbau auf Kali und Steinsalz: Dünger für die Landwirtschaft, Streusalz für den Winter.', founded: 1894, hq: 'Kassel', employees: 5200 },
|
||
{ symbol: 'SLBR', name: 'Glashütte Silberau AG', sector: 'materials', price: 27.5, shares: 5.0e7, vol: 0.33, growth: 0.05, gasSens: -0.15, liq: 0.5, profile: 'chemicals',
|
||
desc: 'Spezialglas für Solarmodule, Displays und Pharmafläschchen; Schmelzöfen brauchen viel Gas.', founded: 1884, hq: 'Jena', employees: 2900 },
|
||
{ symbol: 'PFLG', name: 'Pflegewerk Seniorenheime AG', sector: 'health', price: 13.4, shares: 1.0e8, vol: 0.25, growth: 0.04, payout: 0.5, liq: 0.55, profile: 'clinic',
|
||
desc: 'Betreibt 240 Pflegeheime; Personalmangel und Pflegesätze entscheiden über den Gewinn.', founded: 1996, hq: 'Bielefeld', employees: 21000 },
|
||
{ symbol: 'DIAG', name: 'Diagnostik Elbtal AG', sector: 'health', price: 31.0, shares: 4.5e7, vol: 0.35, growth: 0.08, payout: 0.3, liq: 0.5, profile: 'medtech',
|
||
desc: 'Medizinische Labore und Schnelltests; Grippewellen bringen Sonderumsätze.', founded: 2002, hq: 'Dresden', employees: 3600 },
|
||
{ symbol: 'OSTE', name: 'Osteon Implantate AG', sector: 'health', price: 44.6, shares: 2.8e7, vol: 0.4, growth: 0.12, payout: 0.1, liq: 0.5, profile: 'medtech',
|
||
desc: 'Künstliche Gelenke und Zahnimplantate aus dem 3D-Drucker; profitiert von einer alternden Bevölkerung.', founded: 2007, hq: 'Freiburg', employees: 1250 },
|
||
{ symbol: 'ZLPF', name: 'Zellpfad Biotech AG', sector: 'pharma', price: 6.85, shares: 1.2e8, vol: 0.66, growth: 0.3, payout: 0, liq: 0.45, profile: 'biotech',
|
||
desc: 'Zelltherapien gegen seltene Erkrankungen; ein Wirkstoff in der entscheidenden Studie.', founded: 2012, hq: 'Heidelberg', employees: 310 },
|
||
{ symbol: 'SOLR', name: 'Solarfeld Brandenburg AG', sector: 'energy', price: 8.9, shares: 1.6e8, vol: 0.47, growth: 0.15, payout: 0.1, gasSens: 0.04, liq: 0.55, profile: 'hydrogen',
|
||
desc: 'Plant und betreibt Solarparks mit Batteriespeichern; kapitalintensiv und zinsempfindlich.', founded: 2011, hq: 'Cottbus', employees: 680 },
|
||
{ symbol: 'MOEB', name: 'Möbelwerk Schwarzbach AG', sector: 'consumer', price: 22.4, shares: 5.5e7, vol: 0.31, growth: 0.03, payout: 0.5, liq: 0.5, profile: 'retail',
|
||
desc: 'Küchen und Wohnmöbel aus eigener Fertigung; Umzüge und Baukonjunktur treiben die Nachfrage.', founded: 1932, hq: 'Herford', employees: 4800 },
|
||
{ symbol: 'GPFL', name: 'Gipfelstürmer Outdoor AG', sector: 'consumer', price: 16.8, shares: 8.0e7, vol: 0.35, growth: 0.08, payout: 0.3, liq: 0.55, profile: 'brewery',
|
||
desc: 'Wanderschuhe, Jacken und Zelte mit eigener Ladenkette; Wetter und Kauflaune entscheiden.', founded: 1979, hq: 'Kempten', employees: 2600 },
|
||
{ symbol: 'VNTL', name: 'Ventilbau Odenwald AG', sector: 'industry', price: 38.7, shares: 3.5e7, vol: 0.3, growth: 0.04, payout: 0.4, gasSens: -0.03, liq: 0.5, profile: 'machinery',
|
||
desc: 'Industrieventile und Pumpen für Chemie, Wasser und Wasserstoffnetze; Weltmarktführer in der Nische.', founded: 1919, hq: 'Michelstadt', employees: 2100 },
|
||
{ symbol: 'BDWF', name: 'Boddenwerft Marine AG', sector: 'defense', price: 14.6, shares: 7.0e7, vol: 0.43, growth: 0.1, payout: 0.2, liq: 0.5, profile: 'space',
|
||
desc: 'Baut Korvetten, Patrouillenboote und Forschungsschiffe; volle Auftragsbücher, knappe Margen.', founded: 1946, hq: 'Stralsund', employees: 3400 },
|
||
{ symbol: 'NRLN', name: 'Nordring Ladenetz AG', sector: 'auto', price: 5.4, shares: 1.9e8, vol: 0.54, growth: 0.25, payout: 0, liq: 0.5, profile: 'emobility',
|
||
desc: 'Schnellladesäulen an Autobahnen und Supermärkten; wächst mit jedem neuen E-Auto, noch mit Verlust.', founded: 2017, hq: 'Hannover', employees: 540 },
|
||
{ symbol: 'MSBK', name: 'Mittelstandsbank Talheim AG', sector: 'banks', price: 27.3, shares: 5.0e7, vol: 0.29, growth: 0.04, payout: 0.5, liq: 0.5, profile: 'regionalbank',
|
||
desc: 'Regionalbank für Handwerk und Mittelstand; lebt von der Zinsmarge und kennt ihre Kunden.', founded: 1872, hq: 'Talheim', employees: 2300 },
|
||
];
|
||
/** die ursprünglichen zehn Werte bilden den Leitindex WIBO-10 */
|
||
export const INDEX_SYMBOLS = new Set(['NVLT', 'QBIT', 'HLIO', 'VOLT', 'RHBK', 'MEDX', 'KRMA', 'STHL', 'AEGS', 'GRNH']);
|
||
/** Symbol → Branche (wird bei Börsengängen ergänzt) */
|
||
export const SECTOR_OF = Object.fromEntries(COMPANIES.map((c) => [c.symbol, c.sector]));
|
||
|
||
export const NEUTRAL_RATE = 2.5; // Leitzins, bei dem die Sektor-KGVs kalibriert sind
|
||
export const TREND_GDP = 1.0;
|
||
export const INFL_TARGET = 2.0;
|
||
|
||
export function createMacro() {
|
||
const m = {
|
||
rate: 2.5, inflation: 2.3, gdp: 1.0, unemployment: 5.8,
|
||
sentiment: 0,
|
||
sectorMood: Object.fromEntries(Object.keys(SECTORS).map((k) => [k, 0])),
|
||
regime: 'expansion',
|
||
eqShift: { gdp: 0, inflation: 0, unemployment: 0 }, // dauerhafte Politikeffekte (klingen langsam ab)
|
||
published: null, // zuletzt veröffentlichte Konjunkturdaten
|
||
history: [],
|
||
};
|
||
m.published = { inflation: m.inflation, gdp: m.gdp, unemployment: m.unemployment, ts: Date.now(), surprise: null };
|
||
return m;
|
||
}
|
||
|
||
/**
|
||
* Makrodynamik (dt in Spieljahren). Mean-Reversion zu Gleichgewichten, die vom Realzins, der Stimmung,
|
||
* dem Konjunkturregime und Politikeffekten abhängen; Rauschen ist mit √dt skaliert.
|
||
*/
|
||
export function stepMacro(m, dtYears, sentimentHalfLifeYears) {
|
||
const sq = Math.sqrt(dtYears);
|
||
// Regimewechsel (Markov): Aufschwung dauert im Mittel ~6 Spieljahre, Rezession ~1,2
|
||
if (m.regime === 'expansion' && Math.random() < 0.16 * dtYears) m.regime = 'recession';
|
||
else if (m.regime === 'recession' && Math.random() < 0.8 * dtYears) m.regime = 'expansion';
|
||
const realGap = (m.rate - (m.published?.inflation ?? m.inflation)) - 0.5; // Realzins vs. neutral
|
||
const trend = m.regime === 'recession' ? -1.2 : 1.3;
|
||
// Außenwirtschaft & Staat: Ölpreis und Dollarkurs (log. Abweichung vom Ausgangswert), Risikoaufschlag der Staatsanleihen
|
||
// Gas: nur die Abweichung vom saisonüblichen Preis (gasCpi: nach Gaspreisbremse) – Energiekomponente der Verbraucherpreise
|
||
const ext = m.ext ?? { oil: 0, usd: 0, risk: 0 };
|
||
const gas = ext.gasCpi ?? 0;
|
||
const gdpEq = trend - realGap * 0.4 + m.sentiment * 0.6 + m.eqShift.gdp - ext.oil * 1.2 - gas * 0.4 + ext.usd * 0.5 - ext.risk * 0.4;
|
||
m.gdpEq = gdpEq;
|
||
m.gdp += 1.5 * (gdpEq - m.gdp) * dtYears + 0.9 * sq * gauss();
|
||
const inflEq = INFL_TARGET + 0.2 - realGap * 0.3 + (m.gdp - TREND_GDP) * 0.3 + m.eqShift.inflation + ext.oil * 2 + gas * 0.8 + ext.usd * 1;
|
||
m.inflation += 1.0 * (inflEq - m.inflation) * dtYears + 0.5 * sq * gauss();
|
||
const uEq = 5.8 - (m.gdp - TREND_GDP) * 0.5 + m.eqShift.unemployment;
|
||
m.unemployment += 0.8 * (uEq - m.unemployment) * dtYears + 0.2 * sq * gauss();
|
||
m.unemployment = clamp(m.unemployment, 2, 15);
|
||
m.gdp = clamp(m.gdp, -6, 8);
|
||
m.inflation = clamp(m.inflation, -2, 12);
|
||
// Politikeffekte klingen mit ~½ Spieljahr Halbwertszeit ab
|
||
const pd = Math.exp((-Math.LN2 * dtYears) / 0.5);
|
||
for (const k in m.eqShift) m.eqShift[k] *= pd;
|
||
const decay = Math.exp((-Math.LN2 * dtYears) / sentimentHalfLifeYears);
|
||
m.sentiment *= decay;
|
||
for (const k in m.sectorMood) m.sectorMood[k] *= decay;
|
||
}
|
||
|
||
/**
|
||
* Konjunkturdaten veröffentlichen: gemessene Werte (mit Messfehler) vs. Konsens der Volkswirte.
|
||
* @returns {{inflation:number, gdp:number, unemployment:number, consensus:any, surprise:any}}
|
||
*/
|
||
export function releaseMacro(m) {
|
||
const prev = m.published ?? m;
|
||
const consensus = {};
|
||
const surprise = {};
|
||
const out = {};
|
||
for (const k of ['inflation', 'gdp', 'unemployment']) {
|
||
const measured = +(m[k] + gauss() * (k === 'gdp' ? 0.15 : 0.08)).toFixed(1);
|
||
consensus[k] = +(prev[k] + (m[k] - prev[k]) * 0.6 + gauss() * 0.1).toFixed(1); // Prognosen liegen meist nah dran
|
||
surprise[k] = +(measured - consensus[k]).toFixed(1);
|
||
out[k] = measured;
|
||
}
|
||
m.published = { ...out, consensus, surprise, ts: Date.now() };
|
||
m.history.push({ ts: Date.now(), rate: m.rate, ...out });
|
||
if (m.history.length > 60) m.history.shift();
|
||
return m.published;
|
||
}
|
||
|
||
/**
|
||
* Zentralbankrat: 7 Mitglieder mit eigener Neigung (Falken/Tauben). Jedes Mitglied berechnet eine
|
||
* Taylor-Regel mit Zinsglättung und eigenem Rauschen; entschieden wird mit dem Median.
|
||
* @param {any} m Makrozustand @param {{useTrue?: boolean, noise?: number}} [opt]
|
||
*/
|
||
export const COUNCIL = [-0.5, -0.3, -0.15, 0, 0.15, 0.3, 0.5]; // + = Falke
|
||
export function councilVote(m, { useTrue = true, noise = 0.25 } = {}) {
|
||
const d = useTrue ? m : (m.published ?? m);
|
||
const votes = COUNCIL.map((bias) => {
|
||
const neutral = 0.5 + d.inflation;
|
||
const ideal = neutral + 0.5 * (d.inflation - INFL_TARGET) + 0.5 * (d.gdp - TREND_GDP) + bias * 0.5 + (m.cbBias ?? 0) + gauss() * noise;
|
||
const step = 0.5 * (ideal - m.rate); // Zinsglättung (ρ = 0,5)
|
||
return clamp(Math.round(step / 0.25) * 0.25, -0.5, 0.5);
|
||
});
|
||
votes.sort((a, b) => a - b);
|
||
return { decision: votes[3], votes };
|
||
}
|
||
|
||
/** Markterwartung für die nächste Sitzung (Monte-Carlo mit öffentlichen Daten) */
|
||
export function cbExpectation(m, samples = 300) {
|
||
const count = new Map();
|
||
for (let i = 0; i < samples; i++) {
|
||
const { decision } = councilVote(m, { useTrue: false, noise: 0.35 });
|
||
count.set(decision, (count.get(decision) ?? 0) + 1);
|
||
}
|
||
const probs = Object.fromEntries([...count].sort((a, b) => a[0] - b[0]).map(([k, v]) => [k, v / samples]));
|
||
const mean = [...count].reduce((a, [k, v]) => a + k * v, 0) / samples;
|
||
return { probs, mean };
|
||
}
|
||
|
||
// Gesetzesvorlagen. effects: dauerhafte Gewinnwirkung je Sektor · macro: Verschiebung der Gleichgewichte
|
||
// axis: politische Richtung · cost: Haushaltswirkung in % des BIP p. a. (negativ = Mehreinnahmen)
|
||
// legal: verfassungsrechtliches Risiko (Wahrscheinlichkeit, dass das Verfassungsgericht das Gesetz kippt, falls geklagt wird)
|
||
// keywords: Themen, bei denen echte Nachrichten die Vorlage auf die Tagesordnung bringen · Institutionen sind fiktiv.
|
||
export const BILLS = [
|
||
{ id: 'chips', title: 'Halbleiter-Förderprogramm (20 Mrd.)', axis: 'staat', cost: 0.5, legal: 0, effects: { tech: 0.05, industry: 0.02 }, macro: { gdp: 0.1, inflation: 0.05 }, keywords: ['chip', 'halbleiter', 'semiconductor'] },
|
||
{ id: 'evtax', title: 'Kaufprämie für E-Autos', axis: 'oeko', cost: 0.3, legal: 0, effects: { auto: 0.04, energy: 0.02, consumer: 0.01 }, macro: { gdp: 0.05 }, keywords: ['e-auto', 'elektroauto', 'electric vehicle', ' ev '] },
|
||
{ id: 'banktax', title: 'Übergewinnsteuer für Banken', axis: 'staat', cost: -0.3, legal: 0.3, effects: { banks: -0.06 }, macro: {}, keywords: ['bankgewinn', 'übergewinn', 'windfall'] },
|
||
{ id: 'defense', title: 'Verteidigungsetat auf 3 % des BIP', axis: 'staat', cost: 0.8, legal: 0, effects: { defense: 0.07, industry: 0.02 }, macro: { inflation: 0.05 }, keywords: ['rüstung', 'verteidigung', 'nato', 'defence', 'defense', 'militär'] },
|
||
{ id: 'h2', title: 'Wasserstoff-Strategie 2035', axis: 'oeko', cost: 0.3, legal: 0, effects: { energy: 0.06, industry: 0.02 }, macro: { gdp: 0.05 }, keywords: ['wasserstoff', 'hydrogen'] },
|
||
{ id: 'drugprc', title: 'Preisdeckel für Arzneimittel', axis: 'staat', cost: -0.1, legal: 0.2, effects: { pharma: -0.06, consumer: 0.01 }, macro: { inflation: -0.05 }, keywords: ['arzneimittel', 'medikament', 'drug price', 'pharma'] },
|
||
{ id: 'vat', title: 'Mehrwertsteuer-Senkung auf 16 %', axis: 'markt', cost: 0.9, legal: 0, effects: { consumer: 0.05, auto: 0.01 }, macro: { inflation: -0.2, gdp: 0.15 }, keywords: ['mehrwertsteuer', 'vat', 'konsum'] },
|
||
{ id: 'tariff', title: 'Strafzölle auf Industrieimporte', axis: 'staat', cost: -0.2, legal: 0.1, effects: { industry: 0.03, auto: -0.04, consumer: -0.02, logistics: -0.02 }, macro: { inflation: 0.15, gdp: -0.1 }, keywords: ['zoll', 'zölle', 'tariff', 'handelskrieg'] },
|
||
{ id: 'debt', title: 'Lockerung der Schuldenbremse', axis: 'staat', cost: 1.0, legal: 0.35, effects: { industry: 0.03, banks: 0.01, tech: 0.02 }, macro: { gdp: 0.2, inflation: 0.15 }, keywords: ['schuldenbremse', 'haushalt', 'budget', 'schulden'] },
|
||
{ id: 'aiact', title: 'Strenge KI-Regulierung', axis: 'staat', cost: 0, legal: 0.1, effects: { tech: -0.05 }, macro: { gdp: -0.03 }, keywords: ['ki-', 'künstliche intelligenz', ' ai ', 'artificial intelligence'] },
|
||
{ id: 'bureau', title: 'Bürokratieabbau-Gesetz', axis: 'markt', cost: -0.05, legal: 0, effects: { industry: 0.02, consumer: 0.02, tech: 0.01 }, macro: { gdp: 0.1 }, keywords: ['bürokratie', 'regulierung'] },
|
||
{ id: 'co2', title: 'Höherer CO₂-Preis ab nächstem Jahr', axis: 'oeko', cost: -0.4, legal: 0, effects: { energy: -0.03, auto: -0.03, industry: -0.03, materials: -0.03, logistics: -0.02, tech: 0.01 }, macro: { inflation: 0.1 }, keywords: ['co2', 'klima', 'emission', 'climate'] },
|
||
{ id: 'minwage', title: 'Anhebung des Mindestlohns', axis: 'staat', cost: -0.05, legal: 0, effects: { consumer: -0.02, auto: -0.01 }, macro: { inflation: 0.1, unemployment: 0.1 }, keywords: ['mindestlohn', 'minimum wage', 'löhne'] },
|
||
{ id: 'corptax', title: 'Senkung der Unternehmenssteuer', axis: 'markt', cost: 0.6, legal: 0, effects: { tech: 0.03, industry: 0.03, banks: 0.03, consumer: 0.02, auto: 0.02, materials: 0.02, logistics: 0.02, media: 0.02 }, macro: { gdp: 0.1, inflation: 0.05 }, keywords: ['unternehmenssteuer', 'corporate tax', 'steuerreform'] },
|
||
{ id: 'bankreg', title: 'Lockerung der Eigenkapitalregeln für Banken', axis: 'markt', cost: 0, legal: 0.05, effects: { banks: 0.05 }, macro: { gdp: 0.05 }, keywords: ['eigenkapital', 'bankenaufsicht', 'basel'] },
|
||
{ id: 'gridexp', title: 'Beschleunigter Netzausbau', axis: 'oeko', cost: 0.4, legal: 0.05, effects: { energy: 0.03, industry: 0.03 }, macro: { gdp: 0.05 }, keywords: ['stromnetz', 'netzausbau', 'grid'] },
|
||
{ id: 'pharmrd', title: 'Forschungszulage für Pharma', axis: 'markt', cost: 0.15, legal: 0, effects: { pharma: 0.05 }, macro: {}, keywords: ['forschung', 'impfstoff', 'vaccine'] },
|
||
{ id: 'retire', title: 'Rentenreform mit späterem Eintritt', axis: 'markt', cost: -0.4, legal: 0.15, effects: { consumer: -0.01, banks: 0.01 }, macro: { unemployment: -0.1, gdp: 0.05 }, keywords: ['rente', 'pension'] },
|
||
{ id: 'oilres', title: 'Strategische Ölreserve aufstocken', axis: 'staat', cost: 0.2, legal: 0, effects: { energy: 0.02 }, macro: { inflation: 0.03 }, keywords: ['öl', 'oil', 'opec', 'erdöl'] },
|
||
// Gas: Sonderwirkung in assets.js – die Bremse halbiert, was teures Gas bei Inflation und Bevölkerung anrichtet;
|
||
// die Speicherpflicht hebt den Füllstand vor dem Winter und schließt Lücken schneller
|
||
{ id: 'gasbrake', title: 'Gaspreisbremse für Haushalte und Betriebe', axis: 'staat', cost: 0.5, legal: 0.05, effects: { consumer: 0.02, industry: 0.015, materials: 0.015, energy: -0.01 }, macro: { inflation: -0.1 }, keywords: ['gaspreis', 'gaspreisbremse', 'heizkosten', 'gasumlage', 'energiepreis'] },
|
||
{ id: 'gasstore', title: 'Gasspeicherpflicht: Mindestfüllstand vor dem Winter', axis: 'staat', cost: 0.1, legal: 0.05, effects: { energy: 0.01, industry: 0.005 }, macro: { inflation: 0.02 }, keywords: ['gasspeicher', 'speicherfüllstand', 'gasversorgung', 'flüssiggas', 'lng', 'erdgas'] },
|
||
{ id: 'export', title: 'Exportkreditgarantien ausweiten', axis: 'markt', cost: 0.1, legal: 0, effects: { industry: 0.03, auto: 0.02, materials: 0.02, logistics: 0.01, pharma: 0.01 }, macro: { gdp: 0.05 }, keywords: ['export', 'handel', 'trade'] },
|
||
{ id: 'wealth', title: 'Vermögensabgabe für Großvermögen', axis: 'staat', cost: -0.5, legal: 0.4, effects: { banks: -0.02, consumer: 0.01 }, macro: { gdp: -0.05 }, keywords: ['vermögensteuer', 'vermögen', 'wealth tax'] },
|
||
// ab Version 0.25: Vorlagen für die neuen Branchen
|
||
{ id: 'rentcap', title: 'Schärfere Mietpreisbremse', axis: 'staat', cost: 0, legal: 0.25, effects: { realestate: -0.06, consumer: 0.01 }, macro: { inflation: -0.05 }, keywords: ['mietpreisbremse', 'mietendeckel', 'mieten', 'mieterhöhung', 'wohnungsmarkt'] },
|
||
{ id: 'housing', title: 'Wohnungsbau-Offensive', axis: 'staat', cost: 0.4, legal: 0, effects: { realestate: 0.04, industry: 0.02, materials: 0.01 }, macro: { gdp: 0.05, inflation: 0.03 }, keywords: ['wohnungsbau', 'neubau', 'baugenehmigung', 'sozialwohnung'] },
|
||
{ id: 'fiber', title: 'Glasfaser- und Mobilfunk-Ausbauprogramm', axis: 'staat', cost: 0.3, legal: 0, effects: { telecom: 0.05, tech: 0.01 }, macro: { gdp: 0.03 }, keywords: ['glasfaser', 'breitband', 'mobilfunk', 'funkloch', '5g'] },
|
||
{ id: 'toll', title: 'Lkw-Maut auf allen Bundesstraßen', axis: 'oeko', cost: -0.2, legal: 0.05, effects: { logistics: -0.05, consumer: -0.005 }, macro: { inflation: 0.03 }, keywords: ['maut', 'lkw', 'spedition', 'güterverkehr'] },
|
||
{ id: 'adban', title: 'Werbeverbot für Süßwaren und Sportwetten', axis: 'staat', cost: 0, legal: 0.15, effects: { media: -0.04, consumer: -0.01 }, macro: {}, keywords: ['werbeverbot', 'werbung', 'sportwetten', 'rundfunk'] },
|
||
{ id: 'chemreg', title: 'Strengere Zulassung für Chemikalien', axis: 'oeko', cost: 0, legal: 0.05, effects: { materials: -0.04 }, macro: { gdp: -0.02 }, keywords: ['chemikalien', 'pfas', 'umweltgift', 'chemiebranche'] },
|
||
{ id: 'care', title: 'Pflege- und Klinikreform mit höheren Sätzen', axis: 'staat', cost: 0.3, legal: 0, effects: { health: 0.04 }, macro: { inflation: 0.02 }, keywords: ['pflegereform', 'krankenhausreform', 'klinikreform', 'pflegekräfte', 'krankenhäuser'] },
|
||
{ id: 'heatnet', title: 'Förderprogramm Fernwärme und Wärmepumpen', axis: 'oeko', cost: 0.25, legal: 0, effects: { utilities: 0.04, realestate: -0.01 }, macro: { gdp: 0.02 }, keywords: ['fernwärme', 'wärmepumpe', 'heizungsgesetz', 'wärmeplanung'] },
|
||
];
|
||
|
||
// ================================================================ Politische Landschaft (fiktiv)
|
||
// pos: Haltung auf den drei Achsen der Vorlagen (−1 lehnt ab … +1 unterstützt) · base: langfristiger Wähleranteil
|
||
export const NPC_PARTIES = [
|
||
{ id: 'wvp', name: 'Wiborische Volkspartei', short: 'WVP', color: '#4a7bd0', pos: { markt: 0.35, staat: -0.05, oeko: -0.2 }, base: 0.27 },
|
||
{ id: 'suw', name: 'Soziale Union Wiboriens', short: 'SUW', color: '#d0463b', pos: { markt: -0.5, staat: 0.65, oeko: 0.2 }, base: 0.23 },
|
||
{ id: 'ga', name: 'Grüne Allianz', short: 'GA', color: '#2fa36b', pos: { markt: -0.2, staat: 0.3, oeko: 0.9 }, base: 0.15 },
|
||
{ id: 'bb', name: 'Bürgerbund', short: 'BB', color: '#9b6bc9', pos: { markt: -0.15, staat: 0.4, oeko: -0.75 }, base: 0.13 },
|
||
{ id: 'lmp', name: 'Liberale Marktpartei', short: 'LMP', color: '#e0b020', pos: { markt: 0.9, staat: -0.65, oeko: -0.1 }, base: 0.11 },
|
||
];
|
||
export const OTHERS_SHARE = 0.11; // Kleinparteien unter der Sperrklausel
|
||
export const SEATS = 200;
|
||
export const THRESHOLD = 0.05;
|
||
export const PARTY_COLORS = ['#e67e22', '#16a085', '#c0392b', '#2980b9', '#8e44ad', '#7f8c8d', '#d35400', '#27ae60', '#f39c12', '#2c3e50'];
|
||
|
||
// Ministerien: wer ein Ressort führt, darf Aktien aus den zugeordneten Sektoren nur noch abbauen (Interessenkonflikt)
|
||
export const MINISTRIES = [
|
||
// ab Version 0.25 kamen die neuen Branchen zu bestehenden Ressorts (das Kabinett bleibt bei sieben)
|
||
{ id: 'fin', name: 'Finanzministerium', sectors: ['banks', 'realestate'] },
|
||
{ id: 'wirt', name: 'Wirtschaftsministerium', sectors: ['industry', 'auto', 'materials', 'logistics'] },
|
||
{ id: 'energie', name: 'Ministerium für Energie und Klima', sectors: ['energy', 'utilities'] },
|
||
{ id: 'gesund', name: 'Gesundheitsministerium', sectors: ['pharma', 'health'] },
|
||
{ id: 'digital', name: 'Digitalministerium', sectors: ['tech', 'telecom', 'media'] },
|
||
{ id: 'vert', name: 'Verteidigungsministerium', sectors: ['defense'] },
|
||
{ id: 'verbr', name: 'Ministerium für Verbraucherschutz', sectors: ['consumer'] },
|
||
];
|
||
export const NPC_FIRST = ['Anna', 'Jonas', 'Mira', 'Theo', 'Lena', 'Karim', 'Sofia', 'Paul', 'Ida', 'Malte', 'Nora', 'Emil', 'Frieda', 'Yusuf', 'Greta', 'Lukas'];
|
||
export const NPC_LAST = ['Brenner', 'Okafor', 'Lindqvist', 'Haberland', 'Novak', 'Seidel', 'Aydın', 'Marquardt', 'Valente', 'Kowalski', 'Rautenberg', 'Fischbach', 'Demir', 'Hollstein'];
|
||
|
||
// Bausteine für Gesetzesvorlagen von Spielern (keine Freitexte → keine Moderation nötig)
|
||
export const SECTOR_PHRASE = {
|
||
tech: 'für die Digitalwirtschaft', energy: 'für die Energiewirtschaft', auto: 'für die Automobilindustrie', banks: 'für Banken',
|
||
pharma: 'für die Pharmabranche', consumer: 'für den Einzelhandel', industry: 'für die Industrie', defense: 'für die Rüstungsindustrie',
|
||
realestate: 'für die Immobilienwirtschaft', utilities: 'für Stadtwerke und Versorger', telecom: 'für die Telekommunikation', logistics: 'für Logistik und Transport',
|
||
media: 'für die Medienbranche', materials: 'für die Chemie- und Rohstoffindustrie', health: 'für Kliniken und Pflege',
|
||
};
|
||
export const BILL_TEMPLATES = {
|
||
foerder: { label: 'Förderprogramm', title: 'Förderprogramm', axis: 'staat', eff: 0.04, cost: 0.3, legal: 0, macro: { gdp: 0.05, inflation: 0.03 } },
|
||
steuer: { label: 'Steuererleichterung', title: 'Steuererleichterungen', axis: 'markt', eff: 0.035, cost: 0.25, legal: 0, macro: { gdp: 0.04 } },
|
||
dereg: { label: 'Bürokratieentlastung', title: 'Bürokratieentlastung', axis: 'markt', eff: 0.03, cost: 0, legal: 0, macro: { gdp: 0.03 } },
|
||
abgabe: { label: 'Sonderabgabe', title: 'Sonderabgabe', axis: 'staat', eff: -0.05, cost: -0.3, legal: 0.25, macro: {} },
|
||
regul: { label: 'Strengere Regulierung', title: 'Strengere Regulierung', axis: 'staat', eff: -0.04, cost: 0, legal: 0.1, macro: { gdp: -0.02 } },
|
||
klima: { label: 'Klimaschutzauflagen', title: 'Klimaschutzauflagen', axis: 'oeko', eff: -0.03, cost: -0.05, legal: 0.05, macro: { inflation: 0.03 } },
|
||
gruen: { label: 'Grüne Investitionsoffensive', title: 'Grüne Investitionsoffensive', axis: 'oeko', eff: 0.035, cost: 0.35, legal: 0, macro: { gdp: 0.04 } },
|
||
};
|